From 4c8588dadeebc59cb91019f7c6dde2e5141ddbbe Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Thu, 23 Feb 2023 15:04:10 -0800 Subject: [PATCH 1/3] Codegen for openapi v232 --- OPENAPI_VERSION | 2 +- charge.go | 2 +- example/generated_examples_test.go | 21 +++++++++++++++++++++ invoice.go | 8 ++++---- invoiceitem.go | 4 ++-- issuing_card.go | 6 +++--- issuing_cardholder.go | 17 ++++++++++------- paymentmethod.go | 2 +- setupattempt.go | 2 +- taxrate.go | 1 + testhelpersterminal_reader.go | 12 ++++++------ 11 files changed, 51 insertions(+), 26 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 72a2ee91db..3c2b47ae76 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v226 \ No newline at end of file +v232 \ No newline at end of file diff --git a/charge.go b/charge.go index 32f4b399cb..8536aea3b6 100644 --- a/charge.go +++ b/charge.go @@ -756,7 +756,7 @@ type ChargePaymentMethodDetailsGrabpay struct { TransactionID string `json:"transaction_id"` } type ChargePaymentMethodDetailsIDEAL struct { - // The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`. + // The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. Bank string `json:"bank"` // The Bank Identifier Code of the customer's bank. BIC string `json:"bic"` diff --git a/example/generated_examples_test.go b/example/generated_examples_test.go index fc42ae56bb..820b39db47 100644 --- a/example/generated_examples_test.go +++ b/example/generated_examples_test.go @@ -8,20 +8,27 @@ import ( stripe "github.com/stripe/stripe-go/v74" account "github.com/stripe/stripe-go/v74/account" accountlink "github.com/stripe/stripe-go/v74/accountlink" + applicationfee "github.com/stripe/stripe-go/v74/applicationfee" apps_secret "github.com/stripe/stripe-go/v74/apps/secret" balancetransaction "github.com/stripe/stripe-go/v74/balancetransaction" + bankaccount "github.com/stripe/stripe-go/v74/bankaccount" billingportal_configuration "github.com/stripe/stripe-go/v74/billingportal/configuration" billingportal_session "github.com/stripe/stripe-go/v74/billingportal/session" capability "github.com/stripe/stripe-go/v74/capability" + card "github.com/stripe/stripe-go/v74/card" cashbalance "github.com/stripe/stripe-go/v74/cashbalance" charge "github.com/stripe/stripe-go/v74/charge" checkout_session "github.com/stripe/stripe-go/v74/checkout/session" countryspec "github.com/stripe/stripe-go/v74/countryspec" coupon "github.com/stripe/stripe-go/v74/coupon" + creditnote "github.com/stripe/stripe-go/v74/creditnote" customer "github.com/stripe/stripe-go/v74/customer" customerbalancetransaction "github.com/stripe/stripe-go/v74/customerbalancetransaction" dispute "github.com/stripe/stripe-go/v74/dispute" event "github.com/stripe/stripe-go/v74/event" + feerefund "github.com/stripe/stripe-go/v74/feerefund" + file "github.com/stripe/stripe-go/v74/file" + filelink "github.com/stripe/stripe-go/v74/filelink" financialconnections_account "github.com/stripe/stripe-go/v74/financialconnections/account" financialconnections_session "github.com/stripe/stripe-go/v74/financialconnections/session" identity_verificationreport "github.com/stripe/stripe-go/v74/identity/verificationreport" @@ -33,10 +40,12 @@ import ( issuing_cardholder "github.com/stripe/stripe-go/v74/issuing/cardholder" issuing_dispute "github.com/stripe/stripe-go/v74/issuing/dispute" issuing_transaction "github.com/stripe/stripe-go/v74/issuing/transaction" + loginlink "github.com/stripe/stripe-go/v74/loginlink" mandate "github.com/stripe/stripe-go/v74/mandate" paymentintent "github.com/stripe/stripe-go/v74/paymentintent" paymentlink "github.com/stripe/stripe-go/v74/paymentlink" paymentmethod "github.com/stripe/stripe-go/v74/paymentmethod" + paymentsource "github.com/stripe/stripe-go/v74/paymentsource" payout "github.com/stripe/stripe-go/v74/payout" person "github.com/stripe/stripe-go/v74/person" plan "github.com/stripe/stripe-go/v74/plan" @@ -45,7 +54,11 @@ import ( promotioncode "github.com/stripe/stripe-go/v74/promotioncode" quote "github.com/stripe/stripe-go/v74/quote" radar_earlyfraudwarning "github.com/stripe/stripe-go/v74/radar/earlyfraudwarning" + radar_valuelist "github.com/stripe/stripe-go/v74/radar/valuelist" + radar_valuelistitem "github.com/stripe/stripe-go/v74/radar/valuelistitem" refund "github.com/stripe/stripe-go/v74/refund" + reporting_reportrun "github.com/stripe/stripe-go/v74/reporting/reportrun" + reporting_reporttype "github.com/stripe/stripe-go/v74/reporting/reporttype" review "github.com/stripe/stripe-go/v74/review" setupattempt "github.com/stripe/stripe-go/v74/setupattempt" setupintent "github.com/stripe/stripe-go/v74/setupintent" @@ -71,6 +84,7 @@ import ( testhelpers_treasury_receivedcredit "github.com/stripe/stripe-go/v74/testhelpers/treasury/receivedcredit" testhelpers_treasury_receiveddebit "github.com/stripe/stripe-go/v74/testhelpers/treasury/receiveddebit" _ "github.com/stripe/stripe-go/v74/testing" + token "github.com/stripe/stripe-go/v74/token" topup "github.com/stripe/stripe-go/v74/topup" transfer "github.com/stripe/stripe-go/v74/transfer" transferreversal "github.com/stripe/stripe-go/v74/transferreversal" @@ -1225,6 +1239,13 @@ func TestInvoiceRetrieve(t *testing.T) { assert.NotNil(t, result) } +func TestInvoiceRetrieve2(t *testing.T) { + params := &stripe.InvoiceParams{} + params.AddExpand("customer") + result, _ := invoice.Get("in_xxxxxxxxxxxxx", params) + assert.NotNil(t, result) +} + func TestInvoiceUpdate(t *testing.T) { params := &stripe.InvoiceParams{} params.AddMetadata("order_id", "6735") diff --git a/invoice.go b/invoice.go index e04035ceb2..cf31495e47 100644 --- a/invoice.go +++ b/invoice.go @@ -510,9 +510,9 @@ type InvoiceUpcomingCustomerDetailsParams struct { // The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details. type InvoiceUpcomingInvoiceItemPeriodParams struct { - // The end of the period, which must be greater than or equal to the start. + // The end of the period, which must be greater than or equal to the start. This value is inclusive. End *int64 `form:"end"` - // The start of the period. + // The start of the period. This value is inclusive. Start *int64 `form:"start"` } @@ -707,9 +707,9 @@ type InvoiceUpcomingLinesInvoiceItemDiscountParams struct { // The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details. type InvoiceUpcomingLinesInvoiceItemPeriodParams struct { - // The end of the period, which must be greater than or equal to the start. + // The end of the period, which must be greater than or equal to the start. This value is inclusive. End *int64 `form:"end"` - // The start of the period. + // The start of the period. This value is inclusive. Start *int64 `form:"start"` } diff --git a/invoiceitem.go b/invoiceitem.go index 17906e4844..2a65716b71 100644 --- a/invoiceitem.go +++ b/invoiceitem.go @@ -29,9 +29,9 @@ type InvoiceItemDiscountParams struct { // The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details. type InvoiceItemPeriodParams struct { - // The end of the period, which must be greater than or equal to the start. + // The end of the period, which must be greater than or equal to the start. This value is inclusive. End *int64 `form:"end"` - // The start of the period. + // The start of the period. This value is inclusive. Start *int64 `form:"start"` } diff --git a/issuing_card.go b/issuing_card.go index 24004dcfc8..3910508e2f 100644 --- a/issuing_card.go +++ b/issuing_card.go @@ -85,7 +85,7 @@ const ( IssuingCardSpendingControlsSpendingLimitIntervalYearly IssuingCardSpendingControlsSpendingLimitInterval = "yearly" ) -// Whether authorizations can be approved on this card. +// Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`. type IssuingCardStatus string // List of values that IssuingCardStatus can take @@ -207,7 +207,7 @@ type IssuingCardParams struct { Shipping *IssuingCardShippingParams `form:"shipping"` // Rules that control spending for this card. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details. SpendingControls *IssuingCardSpendingControlsParams `form:"spending_controls"` - // Dictates whether authorizations can be approved on this card. If this card is being canceled because it was lost or stolen, this information should be provided as `cancellation_reason`. + // Dictates whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`. If this card is being canceled because it was lost or stolen, this information should be provided as `cancellation_reason`. Status *string `form:"status"` // The type of card to issue. Possible values are `physical` or `virtual`. Type *string `form:"type"` @@ -339,7 +339,7 @@ type IssuingCard struct { // Where and how the card will be shipped. Shipping *IssuingCardShipping `json:"shipping"` SpendingControls *IssuingCardSpendingControls `json:"spending_controls"` - // Whether authorizations can be approved on this card. + // Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`. Status IssuingCardStatus `json:"status"` // The type of the card. Type IssuingCardType `json:"type"` diff --git a/issuing_cardholder.go b/issuing_cardholder.go index b63da833db..63adf7e804 100644 --- a/issuing_cardholder.go +++ b/issuing_cardholder.go @@ -107,9 +107,9 @@ type IssuingCardholderIndividualVerificationParams struct { type IssuingCardholderIndividualParams struct { // The date of birth of this cardholder. DOB *IssuingCardholderIndividualDOBParams `form:"dob"` - // The first name of this cardholder. This field cannot contain any special characters or numbers. + // The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. FirstName *string `form:"first_name"` - // The last name of this cardholder. This field cannot contain any special characters or numbers. + // The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. LastName *string `form:"last_name"` // Government-issued ID document for this cardholder. Verification *IssuingCardholderIndividualVerificationParams `form:"verification"` @@ -156,7 +156,7 @@ type IssuingCardholderParams struct { SpendingControls *IssuingCardholderSpendingControlsParams `form:"spending_controls"` // Specifies whether to permit authorizations on this cardholder's cards. Status *string `form:"status"` - // One of `individual` or `company`. + // One of `individual` or `company`. See [Choose a cardholder type](https://stripe.com/docs/issuing/other/choose-cardholder) for more details. Type *string `form:"type"` } type IssuingCardholderBilling struct { @@ -171,13 +171,15 @@ type IssuingCardholderCompany struct { // Information about cardholder acceptance of [Authorized User Terms](https://stripe.com/docs/issuing/cards). type IssuingCardholderIndividualCardIssuingUserTermsAcceptance struct { - // The Unix timestamp marking when the cardholder accepted the Authorized User Terms. + // The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. Date int64 `json:"date"` - // The IP address from which the cardholder accepted the Authorized User Terms. + // The IP address from which the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. IP string `json:"ip"` // The user agent of the browser from which the cardholder accepted the Authorized User Terms. UserAgent string `json:"user_agent"` } + +// Information related to the card_issuing program for this cardholder. type IssuingCardholderIndividualCardIssuing struct { // Information about cardholder acceptance of [Authorized User Terms](https://stripe.com/docs/issuing/cards). UserTermsAcceptance *IssuingCardholderIndividualCardIssuingUserTermsAcceptance `json:"user_terms_acceptance"` @@ -209,12 +211,13 @@ type IssuingCardholderIndividualVerification struct { // Additional information about an `individual` cardholder. type IssuingCardholderIndividual struct { + // Information related to the card_issuing program for this cardholder. CardIssuing *IssuingCardholderIndividualCardIssuing `json:"card_issuing"` // The date of birth of this cardholder. DOB *IssuingCardholderIndividualDOB `json:"dob"` - // The first name of this cardholder. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. + // The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. FirstName string `json:"first_name"` - // The last name of this cardholder. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. + // The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. LastName string `json:"last_name"` // Government-issued ID document for this cardholder. Verification *IssuingCardholderIndividualVerification `json:"verification"` diff --git a/paymentmethod.go b/paymentmethod.go index ad0a3c6d68..36ee5697df 100644 --- a/paymentmethod.go +++ b/paymentmethod.go @@ -621,7 +621,7 @@ type PaymentMethodFPX struct { type PaymentMethodGiropay struct{} type PaymentMethodGrabpay struct{} type PaymentMethodIDEAL struct { - // The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`. + // The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. Bank string `json:"bank"` // The Bank Identifier Code of the customer's bank, if the bank was provided. BIC string `json:"bic"` diff --git a/setupattempt.go b/setupattempt.go index d038b55a90..96a71305a2 100644 --- a/setupattempt.go +++ b/setupattempt.go @@ -150,7 +150,7 @@ type SetupAttemptPaymentMethodDetailsCardPresent struct { GeneratedCard *PaymentMethod `json:"generated_card"` } type SetupAttemptPaymentMethodDetailsIDEAL struct { - // The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`. + // The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. Bank string `json:"bank"` // The Bank Identifier Code of the customer's bank. BIC string `json:"bic"` diff --git a/taxrate.go b/taxrate.go index 8380d7e70f..7510332f43 100644 --- a/taxrate.go +++ b/taxrate.go @@ -15,6 +15,7 @@ type TaxRateTaxType string const ( TaxRateTaxTypeGST TaxRateTaxType = "gst" TaxRateTaxTypeHST TaxRateTaxType = "hst" + TaxRateTaxTypeIgst TaxRateTaxType = "igst" TaxRateTaxTypeJCT TaxRateTaxType = "jct" TaxRateTaxTypePST TaxRateTaxType = "pst" TaxRateTaxTypeQST TaxRateTaxType = "qst" diff --git a/testhelpersterminal_reader.go b/testhelpersterminal_reader.go index 33f41c017c..d702f75cfe 100644 --- a/testhelpersterminal_reader.go +++ b/testhelpersterminal_reader.go @@ -6,13 +6,13 @@ package stripe -// Simulated data for the card_present payment method +// Simulated data for the card_present payment method. type TestHelpersTerminalReaderPresentPaymentMethodCardPresentParams struct { - // Card Number + // The card number, as a string without any separators. Number *string `form:"number"` } -// Simulated data for the interac_present payment method +// Simulated data for the interac_present payment method. type TestHelpersTerminalReaderPresentPaymentMethodInteracPresentParams struct { // Card Number Number *string `form:"number"` @@ -21,10 +21,10 @@ type TestHelpersTerminalReaderPresentPaymentMethodInteracPresentParams struct { // Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction. type TestHelpersTerminalReaderPresentPaymentMethodParams struct { Params `form:"*"` - // Simulated data for the card_present payment method + // Simulated data for the card_present payment method. CardPresent *TestHelpersTerminalReaderPresentPaymentMethodCardPresentParams `form:"card_present"` - // Simulated data for the interac_present payment method + // Simulated data for the interac_present payment method. InteracPresent *TestHelpersTerminalReaderPresentPaymentMethodInteracPresentParams `form:"interac_present"` - // Simulated payment type + // Simulated payment type. Type *string `form:"type"` } From 1a2cb7bb2bc3d1ac95033401cba8a94217ff42c6 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Thu, 23 Feb 2023 15:16:58 -0800 Subject: [PATCH 2/3] goimports --- example/generated_examples_test.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/example/generated_examples_test.go b/example/generated_examples_test.go index 820b39db47..6582a8cddb 100644 --- a/example/generated_examples_test.go +++ b/example/generated_examples_test.go @@ -8,27 +8,20 @@ import ( stripe "github.com/stripe/stripe-go/v74" account "github.com/stripe/stripe-go/v74/account" accountlink "github.com/stripe/stripe-go/v74/accountlink" - applicationfee "github.com/stripe/stripe-go/v74/applicationfee" apps_secret "github.com/stripe/stripe-go/v74/apps/secret" balancetransaction "github.com/stripe/stripe-go/v74/balancetransaction" - bankaccount "github.com/stripe/stripe-go/v74/bankaccount" billingportal_configuration "github.com/stripe/stripe-go/v74/billingportal/configuration" billingportal_session "github.com/stripe/stripe-go/v74/billingportal/session" capability "github.com/stripe/stripe-go/v74/capability" - card "github.com/stripe/stripe-go/v74/card" cashbalance "github.com/stripe/stripe-go/v74/cashbalance" charge "github.com/stripe/stripe-go/v74/charge" checkout_session "github.com/stripe/stripe-go/v74/checkout/session" countryspec "github.com/stripe/stripe-go/v74/countryspec" coupon "github.com/stripe/stripe-go/v74/coupon" - creditnote "github.com/stripe/stripe-go/v74/creditnote" customer "github.com/stripe/stripe-go/v74/customer" customerbalancetransaction "github.com/stripe/stripe-go/v74/customerbalancetransaction" dispute "github.com/stripe/stripe-go/v74/dispute" event "github.com/stripe/stripe-go/v74/event" - feerefund "github.com/stripe/stripe-go/v74/feerefund" - file "github.com/stripe/stripe-go/v74/file" - filelink "github.com/stripe/stripe-go/v74/filelink" financialconnections_account "github.com/stripe/stripe-go/v74/financialconnections/account" financialconnections_session "github.com/stripe/stripe-go/v74/financialconnections/session" identity_verificationreport "github.com/stripe/stripe-go/v74/identity/verificationreport" @@ -40,12 +33,10 @@ import ( issuing_cardholder "github.com/stripe/stripe-go/v74/issuing/cardholder" issuing_dispute "github.com/stripe/stripe-go/v74/issuing/dispute" issuing_transaction "github.com/stripe/stripe-go/v74/issuing/transaction" - loginlink "github.com/stripe/stripe-go/v74/loginlink" mandate "github.com/stripe/stripe-go/v74/mandate" paymentintent "github.com/stripe/stripe-go/v74/paymentintent" paymentlink "github.com/stripe/stripe-go/v74/paymentlink" paymentmethod "github.com/stripe/stripe-go/v74/paymentmethod" - paymentsource "github.com/stripe/stripe-go/v74/paymentsource" payout "github.com/stripe/stripe-go/v74/payout" person "github.com/stripe/stripe-go/v74/person" plan "github.com/stripe/stripe-go/v74/plan" @@ -54,11 +45,7 @@ import ( promotioncode "github.com/stripe/stripe-go/v74/promotioncode" quote "github.com/stripe/stripe-go/v74/quote" radar_earlyfraudwarning "github.com/stripe/stripe-go/v74/radar/earlyfraudwarning" - radar_valuelist "github.com/stripe/stripe-go/v74/radar/valuelist" - radar_valuelistitem "github.com/stripe/stripe-go/v74/radar/valuelistitem" refund "github.com/stripe/stripe-go/v74/refund" - reporting_reportrun "github.com/stripe/stripe-go/v74/reporting/reportrun" - reporting_reporttype "github.com/stripe/stripe-go/v74/reporting/reporttype" review "github.com/stripe/stripe-go/v74/review" setupattempt "github.com/stripe/stripe-go/v74/setupattempt" setupintent "github.com/stripe/stripe-go/v74/setupintent" @@ -84,7 +71,6 @@ import ( testhelpers_treasury_receivedcredit "github.com/stripe/stripe-go/v74/testhelpers/treasury/receivedcredit" testhelpers_treasury_receiveddebit "github.com/stripe/stripe-go/v74/testhelpers/treasury/receiveddebit" _ "github.com/stripe/stripe-go/v74/testing" - token "github.com/stripe/stripe-go/v74/token" topup "github.com/stripe/stripe-go/v74/topup" transfer "github.com/stripe/stripe-go/v74/transfer" transferreversal "github.com/stripe/stripe-go/v74/transferreversal" From 90450b4641b4d7e2aa0502497d0f4f62f98f63b4 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Thu, 23 Feb 2023 15:18:12 -0800 Subject: [PATCH 3/3] Fix acronym --- taxrate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taxrate.go b/taxrate.go index 7510332f43..9813624352 100644 --- a/taxrate.go +++ b/taxrate.go @@ -15,7 +15,7 @@ type TaxRateTaxType string const ( TaxRateTaxTypeGST TaxRateTaxType = "gst" TaxRateTaxTypeHST TaxRateTaxType = "hst" - TaxRateTaxTypeIgst TaxRateTaxType = "igst" + TaxRateTaxTypeIGST TaxRateTaxType = "igst" TaxRateTaxTypeJCT TaxRateTaxType = "jct" TaxRateTaxTypePST TaxRateTaxType = "pst" TaxRateTaxTypeQST TaxRateTaxType = "qst"