Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Mar 27, 2020
1 parent e098e6b commit a44bf0d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
26 changes: 13 additions & 13 deletions issuing_authorization.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,18 @@ type IssuingAuthorizationListParams struct {
Status *string `form:"status"`
}

// IssuingAuthorizationMerchantData is the resource representing merchant data on Issuing APIs.
type IssuingAuthorizationMerchantData struct {
Category string `json:"category"`
City string `json:"city"`
Country string `json:"country"`
Name string `json:"name"`
NetworkID string `json:"network_id"`
PostalCode string `json:"postal_code"`
State string `json:"state"`
URL string `json:"url"`
}

// IssuingAuthorizationPendingRequest is the resource representing details about the pending authorization request.
type IssuingAuthorizationPendingRequest struct {
Amount int64 `json:"amount"`
Expand Down Expand Up @@ -177,7 +189,7 @@ type IssuingAuthorization struct {
Livemode bool `json:"livemode"`
MerchantAmount int64 `json:"merchant_amount"`
MerchantCurrency Currency `json:"merchant_currency"`
MerchantData *IssuingAuthoriationMerchantData `json:"merchant_data"`
MerchantData *IssuingAuthorizationMerchantData `json:"merchant_data"`
Metadata map[string]string `json:"metadata"`
Object string `json:"object"`
PendingRequest *IssuingAuthorizationPendingRequest `json:"pending_request"`
Expand All @@ -188,18 +200,6 @@ type IssuingAuthorization struct {
Wallet IssuingAuthorizationWalletType `json:"wallet"`
}

// IssuingAuthoriationMerchantData is the resource representing merchant data on Issuing APIs.
type IssuingAuthoriationMerchantData struct {
Category string `json:"category"`
City string `json:"city"`
Country string `json:"country"`
Name string `json:"name"`
NetworkID string `json:"network_id"`
PostalCode string `json:"postal_code"`
State string `json:"state"`
URL string `json:"url"`
}

// IssuingAuthorizationList is a list of issuing authorizations as retrieved from a list endpoint.
type IssuingAuthorizationList struct {
ListMeta
Expand Down
32 changes: 16 additions & 16 deletions issuing_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ type IssuingTransactionListParams struct {

// IssuingTransaction is the resource representing a Stripe issuing transaction.
type IssuingTransaction struct {
Amount int64 `json:"amount"`
Authorization *IssuingAuthorization `json:"authorization"`
BalanceTransaction *BalanceTransaction `json:"balance_transaction"`
Card *IssuingCard `json:"card"`
Cardholder *IssuingCardholder `json:"cardholder"`
Created int64 `json:"created"`
Currency Currency `json:"currency"`
Dispute *IssuingDispute `json:"dispute"`
ID string `json:"id"`
Livemode bool `json:"livemode"`
MerchantData *IssuingAuthoriationMerchantData `json:"merchant_data"`
MerchantAmount int64 `json:"merchant_amount"`
MerchantCurrency Currency `json:"merchant_currency"`
Metadata map[string]string `json:"metadata"`
Object string `json:"object"`
Type IssuingTransactionType `json:"type"`
Amount int64 `json:"amount"`
Authorization *IssuingAuthorization `json:"authorization"`
BalanceTransaction *BalanceTransaction `json:"balance_transaction"`
Card *IssuingCard `json:"card"`
Cardholder *IssuingCardholder `json:"cardholder"`
Created int64 `json:"created"`
Currency Currency `json:"currency"`
Dispute *IssuingDispute `json:"dispute"`
ID string `json:"id"`
Livemode bool `json:"livemode"`
MerchantData *IssuingAuthorizationMerchantData `json:"merchant_data"`
MerchantAmount int64 `json:"merchant_amount"`
MerchantCurrency Currency `json:"merchant_currency"`
Metadata map[string]string `json:"metadata"`
Object string `json:"object"`
Type IssuingTransactionType `json:"type"`
}

// IssuingTransactionList is a list of issuing transactions as retrieved from a list endpoint.
Expand Down

0 comments on commit a44bf0d

Please sign in to comment.