Skip to content

Commit

Permalink
fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Jan 15, 2021
1 parent 0512556 commit 7081c79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
2 changes: 1 addition & 1 deletion checkout_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ type CheckoutSessionCustomerDetailsTaxIDs struct {
type CheckoutSessionCustomerDetails struct {
Email string `json:"email"`
TaxExempt CheckoutSessionCustomerDetailsTaxExempt `json:"tax_exempt"`
TaxIDs []CheckoutSessionCustomerDetailsTaxIDs `json:"tax_ids"`
TaxIDs []*CheckoutSessionCustomerDetailsTaxIDs `json:"tax_ids"`
}

// CheckoutSessionShippingAddressCollection is the set of parameters allowed for the
Expand Down
20 changes: 5 additions & 15 deletions issuing_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@ const (
IssuingTransactionPurchaseDetailsFuelUnitUSGallon IssuingTransactionPurchaseDetailsFuelUnit = "us_gallon"
)

// IssuingTransactionListType is the possible values for type when
// listing issuing transactions.
type IssuingTransactionListType string

// List of values that IssuingTransactionListType can take.
const (
IssuingTransactionListTypeCapture IssuingTransactionListType = "capture"
IssuingTransactionListTypeRefund IssuingTransactionListType = "refund"
)

// IssuingTransactionParams is the set of parameters that can be used when creating or updating an issuing transaction.
type IssuingTransactionParams struct {
Params `form:"*"`
Expand All @@ -50,11 +40,11 @@ type IssuingTransactionParams struct {
// IssuingTransactionListParams is the set of parameters that can be used when listing issuing transactions.
type IssuingTransactionListParams struct {
ListParams `form:"*"`
Card *string `form:"card"`
Cardholder *string `form:"cardholder"`
Created *int64 `form:"created"`
CreatedRange *RangeQueryParams `form:"created"`
Type *IssuingTransactionListType `form:"type"`
Card *string `form:"card"`
Cardholder *string `form:"cardholder"`
Created *int64 `form:"created"`
CreatedRange *RangeQueryParams `form:"created"`
Type *string `form:"type"`
}

// IssuingTransactionAmountDetails is the resource representing the breakdown of the amount.
Expand Down

0 comments on commit 7081c79

Please sign in to comment.