Skip to content

Commit

Permalink
Merge pull request mohamadHarith#1 from mohamadHarith/feat/expires-in
Browse files Browse the repository at this point in the history
chore: add ExpiresInSeconds to CreatePaymentCheckoutRequest
  • Loading branch information
mohamadHarith authored Sep 12, 2022
2 parents 7afd798 + 3e73480 commit 0f2155f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions v3/payment_checkout.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ type CreatePaymentCheckoutRequest struct {
CountryCode string `json:"countryCode,omitempty"`
PhoneNumber string `json:"phoneNumber,omitempty"`
} `json:"customer"`
Type PaymentType `json:"type"`
Method []PaymentMethod `json:"method"`
StoreID string `json:"storeId"`
RedirectURL string `json:"redirectUrl"`
NotifyURL string `json:"notifyUrl"`
LayoutVersion layout `json:"layoutVersion"`
Type PaymentType `json:"type"`
Method []PaymentMethod `json:"method"`
StoreID string `json:"storeId"`
RedirectURL string `json:"redirectUrl"`
NotifyURL string `json:"notifyUrl"`
LayoutVersion layout `json:"layoutVersion"`
ExpiresInSeconds int64 `json:"expiresInSeconds"`
}

// CreatePaymentCheckoutResponse :
Expand Down

0 comments on commit 0f2155f

Please sign in to comment.