Skip to content

Commit

Permalink
Update generated code for v532
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Sep 15, 2023
1 parent 74743bf commit be87f5c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions example/generated_examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3341,7 +3341,7 @@ func TestTestHelpersIssuingAuthorizationCreate(t *testing.T) {
},
AuthorizationMethod: stripe.String(string(stripe.IssuingAuthorizationAuthorizationMethodChip)),
Card: stripe.String("foo"),
Currency: stripe.String(string(stripe.CurrencyBAR)),
Currency: stripe.String(string(stripe.CurrencyUSD)),
IsAmountControllable: stripe.Bool(true),
MerchantData: &stripe.TestHelpersIssuingAuthorizationMerchantDataParams{
Category: stripe.String("ac_refrigeration_repair"),
Expand Down Expand Up @@ -3393,8 +3393,8 @@ func TestTestHelpersIssuingAuthorizationCapture(t *testing.T) {
Fuel: &stripe.TestHelpersIssuingAuthorizationCapturePurchaseDetailsFuelParams{
Type: stripe.String("diesel"),
Unit: stripe.String("liter"),
UnitCostDecimal: stripe.String("3.5"),
VolumeDecimal: stripe.String("10"),
UnitCostDecimal: stripe.Float64(3.5),
VolumeDecimal: stripe.Float64(10),
},
Lodging: &stripe.TestHelpersIssuingAuthorizationCapturePurchaseDetailsLodgingParams{
CheckInAt: stripe.Int64(1633651200),
Expand All @@ -3403,7 +3403,7 @@ func TestTestHelpersIssuingAuthorizationCapture(t *testing.T) {
Receipt: []*stripe.TestHelpersIssuingAuthorizationCapturePurchaseDetailsReceiptParams{
&stripe.TestHelpersIssuingAuthorizationCapturePurchaseDetailsReceiptParams{
Description: stripe.String("Room charge"),
Quantity: stripe.String("1"),
Quantity: stripe.Float64(1),
Total: stripe.Int64(200),
UnitCost: stripe.Int64(200),
},
Expand Down Expand Up @@ -3458,7 +3458,7 @@ func TestTestHelpersIssuingTransactionCreateForceCapture(t *testing.T) {
params := &stripe.TestHelpersIssuingTransactionCreateForceCaptureParams{
Amount: stripe.Int64(100),
Card: stripe.String("foo"),
Currency: stripe.String(string(stripe.CurrencyBAR)),
Currency: stripe.String(string(stripe.CurrencyUSD)),
MerchantData: &stripe.TestHelpersIssuingTransactionCreateForceCaptureMerchantDataParams{
Category: stripe.String("ac_refrigeration_repair"),
City: stripe.String("foo"),
Expand Down Expand Up @@ -3489,8 +3489,8 @@ func TestTestHelpersIssuingTransactionCreateForceCapture(t *testing.T) {
Fuel: &stripe.TestHelpersIssuingTransactionCreateForceCapturePurchaseDetailsFuelParams{
Type: stripe.String("diesel"),
Unit: stripe.String("liter"),
UnitCostDecimal: stripe.String("3.5"),
VolumeDecimal: stripe.String("10"),
UnitCostDecimal: stripe.Float64(3.5),
VolumeDecimal: stripe.Float64(10),
},
Lodging: &stripe.TestHelpersIssuingTransactionCreateForceCapturePurchaseDetailsLodgingParams{
CheckInAt: stripe.Int64(1533651200),
Expand All @@ -3499,7 +3499,7 @@ func TestTestHelpersIssuingTransactionCreateForceCapture(t *testing.T) {
Receipt: []*stripe.TestHelpersIssuingTransactionCreateForceCapturePurchaseDetailsReceiptParams{
&stripe.TestHelpersIssuingTransactionCreateForceCapturePurchaseDetailsReceiptParams{
Description: stripe.String("Room charge"),
Quantity: stripe.String("1"),
Quantity: stripe.Float64(1),
Total: stripe.Int64(200),
UnitCost: stripe.Int64(200),
},
Expand All @@ -3516,7 +3516,7 @@ func TestTestHelpersIssuingTransactionCreateUnlinkedRefund(t *testing.T) {
params := &stripe.TestHelpersIssuingTransactionCreateUnlinkedRefundParams{
Amount: stripe.Int64(100),
Card: stripe.String("foo"),
Currency: stripe.String(string(stripe.CurrencyBAR)),
Currency: stripe.String(string(stripe.CurrencyUSD)),
MerchantData: &stripe.TestHelpersIssuingTransactionCreateUnlinkedRefundMerchantDataParams{
Category: stripe.String("ac_refrigeration_repair"),
City: stripe.String("foo"),
Expand Down Expand Up @@ -3547,8 +3547,8 @@ func TestTestHelpersIssuingTransactionCreateUnlinkedRefund(t *testing.T) {
Fuel: &stripe.TestHelpersIssuingTransactionCreateUnlinkedRefundPurchaseDetailsFuelParams{
Type: stripe.String("diesel"),
Unit: stripe.String("liter"),
UnitCostDecimal: stripe.String("3.5"),
VolumeDecimal: stripe.String("10"),
UnitCostDecimal: stripe.Float64(3.5),
VolumeDecimal: stripe.Float64(10),
},
Lodging: &stripe.TestHelpersIssuingTransactionCreateUnlinkedRefundPurchaseDetailsLodgingParams{
CheckInAt: stripe.Int64(1533651200),
Expand All @@ -3557,7 +3557,7 @@ func TestTestHelpersIssuingTransactionCreateUnlinkedRefund(t *testing.T) {
Receipt: []*stripe.TestHelpersIssuingTransactionCreateUnlinkedRefundPurchaseDetailsReceiptParams{
&stripe.TestHelpersIssuingTransactionCreateUnlinkedRefundPurchaseDetailsReceiptParams{
Description: stripe.String("Room charge"),
Quantity: stripe.String("1"),
Quantity: stripe.Float64(1),
Total: stripe.Int64(200),
UnitCost: stripe.Int64(200),
},
Expand Down

0 comments on commit be87f5c

Please sign in to comment.