Skip to content

Commit

Permalink
Update generated code for v1439
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 10, 2025
1 parent 760771d commit ff49067
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1435
v1439
21 changes: 21 additions & 0 deletions terminal_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ type TerminalConfigurationTippingHKDParams struct {
SmartTipThreshold *int64 `form:"smart_tip_threshold"`
}

// Tipping configuration for JPY
type TerminalConfigurationTippingJpyParams struct {
// Fixed amounts displayed when collecting a tip
FixedAmounts []*int64 `form:"fixed_amounts"`
// Percentages displayed when collecting a tip
Percentages []*int64 `form:"percentages"`
// Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
SmartTipThreshold *int64 `form:"smart_tip_threshold"`
}

// Tipping configuration for MYR
type TerminalConfigurationTippingMYRParams struct {
// Fixed amounts displayed when collecting a tip
Expand Down Expand Up @@ -226,6 +236,8 @@ type TerminalConfigurationTippingParams struct {
GBP *TerminalConfigurationTippingGBPParams `form:"gbp"`
// Tipping configuration for HKD
HKD *TerminalConfigurationTippingHKDParams `form:"hkd"`
// Tipping configuration for JPY
Jpy *TerminalConfigurationTippingJpyParams `form:"jpy"`
// Tipping configuration for MYR
MYR *TerminalConfigurationTippingMYRParams `form:"myr"`
// Tipping configuration for NOK
Expand Down Expand Up @@ -344,6 +356,14 @@ type TerminalConfigurationTippingHKD struct {
// Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
SmartTipThreshold int64 `json:"smart_tip_threshold"`
}
type TerminalConfigurationTippingJpy struct {
// Fixed amounts displayed when collecting a tip
FixedAmounts []int64 `json:"fixed_amounts"`
// Percentages displayed when collecting a tip
Percentages []int64 `json:"percentages"`
// Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
SmartTipThreshold int64 `json:"smart_tip_threshold"`
}
type TerminalConfigurationTippingMYR struct {
// Fixed amounts displayed when collecting a tip
FixedAmounts []int64 `json:"fixed_amounts"`
Expand Down Expand Up @@ -409,6 +429,7 @@ type TerminalConfigurationTipping struct {
EUR *TerminalConfigurationTippingEUR `json:"eur"`
GBP *TerminalConfigurationTippingGBP `json:"gbp"`
HKD *TerminalConfigurationTippingHKD `json:"hkd"`
Jpy *TerminalConfigurationTippingJpy `json:"jpy"`
MYR *TerminalConfigurationTippingMYR `json:"myr"`
NOK *TerminalConfigurationTippingNOK `json:"nok"`
NZD *TerminalConfigurationTippingNZD `json:"nzd"`
Expand Down

0 comments on commit ff49067

Please sign in to comment.