diff --git a/README.md b/README.md index 8690f8f7..aabe15e1 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The official Xendit Go SDK provides a simple and convenient way to call Xendit's REST API in applications written in Go. -* Package version: 3.0.0 +* Package version: 3.1.0 # Getting Started @@ -40,7 +40,7 @@ xnd := xendit.NewClient("API-KEY") # Documentation -Find detailed API infomration and examples for each of our product's by clicking the links below, +Find detailed API information and examples for each of our product's by clicking the links below, * [Balance](docs/BalanceApi.md) * [Invoice](docs/InvoiceApi.md) diff --git a/balance_and_transaction/api_balance.go b/balance_and_transaction/api_balance.go index 100eac47..650af02b 100644 --- a/balance_and_transaction/api_balance.go +++ b/balance_and_transaction/api_balance.go @@ -1,4 +1,3 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( diff --git a/balance_and_transaction/api_transaction.go b/balance_and_transaction/api_transaction.go index 16217ca5..638915cb 100644 --- a/balance_and_transaction/api_transaction.go +++ b/balance_and_transaction/api_transaction.go @@ -1,4 +1,3 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( diff --git a/balance_and_transaction/model_balance.go b/balance_and_transaction/model_balance.go index 09232bb9..68aed6f0 100644 --- a/balance_and_transaction/model_balance.go +++ b/balance_and_transaction/model_balance.go @@ -6,16 +6,13 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Balance type satisfies the MappedNullable interface at compile time diff --git a/balance_and_transaction/model_channels_categories.go b/balance_and_transaction/model_channels_categories.go index 8369fb5f..2be1ae73 100644 --- a/balance_and_transaction/model_channels_categories.go +++ b/balance_and_transaction/model_channels_categories.go @@ -6,7 +6,6 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction diff --git a/balance_and_transaction/model_currency.go b/balance_and_transaction/model_currency.go index 55850ac9..c7a29f7e 100644 --- a/balance_and_transaction/model_currency.go +++ b/balance_and_transaction/model_currency.go @@ -6,7 +6,6 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction diff --git a/balance_and_transaction/model_date_range_filter.go b/balance_and_transaction/model_date_range_filter.go index accaa580..5ec1a8dd 100644 --- a/balance_and_transaction/model_date_range_filter.go +++ b/balance_and_transaction/model_date_range_filter.go @@ -6,16 +6,13 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/balance_and_transaction/model_fee_response.go b/balance_and_transaction/model_fee_response.go index a604c823..8dcef90c 100644 --- a/balance_and_transaction/model_fee_response.go +++ b/balance_and_transaction/model_fee_response.go @@ -6,16 +6,13 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the FeeResponse type satisfies the MappedNullable interface at compile time diff --git a/balance_and_transaction/model_link_item.go b/balance_and_transaction/model_link_item.go index 02506281..ebdcb5d9 100644 --- a/balance_and_transaction/model_link_item.go +++ b/balance_and_transaction/model_link_item.go @@ -6,16 +6,13 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the LinkItem type satisfies the MappedNullable interface at compile time diff --git a/balance_and_transaction/model_server_error.go b/balance_and_transaction/model_server_error.go index da191e60..72b77711 100644 --- a/balance_and_transaction/model_server_error.go +++ b/balance_and_transaction/model_server_error.go @@ -6,16 +6,13 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ServerError type satisfies the MappedNullable interface at compile time diff --git a/balance_and_transaction/model_transaction_response.go b/balance_and_transaction/model_transaction_response.go index 56571dc5..1530b039 100644 --- a/balance_and_transaction/model_transaction_response.go +++ b/balance_and_transaction/model_transaction_response.go @@ -6,16 +6,13 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/balance_and_transaction/model_transaction_response_type.go b/balance_and_transaction/model_transaction_response_type.go index b9b79bae..3be6c8d5 100644 --- a/balance_and_transaction/model_transaction_response_type.go +++ b/balance_and_transaction/model_transaction_response_type.go @@ -6,13 +6,11 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( "encoding/json" - "fmt" ) diff --git a/balance_and_transaction/model_transaction_statuses.go b/balance_and_transaction/model_transaction_statuses.go index 52cb7636..6181291c 100644 --- a/balance_and_transaction/model_transaction_statuses.go +++ b/balance_and_transaction/model_transaction_statuses.go @@ -6,7 +6,6 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction diff --git a/balance_and_transaction/model_transaction_types.go b/balance_and_transaction/model_transaction_types.go index 02efdee4..ff7b6b65 100644 --- a/balance_and_transaction/model_transaction_types.go +++ b/balance_and_transaction/model_transaction_types.go @@ -6,7 +6,6 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction diff --git a/balance_and_transaction/model_transactions_response.go b/balance_and_transaction/model_transactions_response.go index 3d91428d..61f36137 100644 --- a/balance_and_transaction/model_transactions_response.go +++ b/balance_and_transaction/model_transactions_response.go @@ -6,16 +6,13 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the TransactionsResponse type satisfies the MappedNullable interface at compile time diff --git a/balance_and_transaction/model_validation_error.go b/balance_and_transaction/model_validation_error.go index ab999220..59150227 100644 --- a/balance_and_transaction/model_validation_error.go +++ b/balance_and_transaction/model_validation_error.go @@ -6,16 +6,13 @@ Transaction Service V4 API API version: 3.4.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ValidationError type satisfies the MappedNullable interface at compile time diff --git a/balance_and_transaction/nullable.go b/balance_and_transaction/nullable.go index 815854b4..1835e036 100644 --- a/balance_and_transaction/nullable.go +++ b/balance_and_transaction/nullable.go @@ -1,4 +1,3 @@ -// Code generated by Xendit OpenAPI Generator; DO NOT EDIT. package balance_and_transaction import ( diff --git a/client.go b/client.go index 90327f5a..cd1c00fa 100644 --- a/client.go +++ b/client.go @@ -1,4 +1,3 @@ -// Code generated by Xendit OpenAPI Generator; DO NOT EDIT. package xendit import ( @@ -20,8 +19,7 @@ import ( "regexp" "strings" "time" - "unicode/utf8" - + common "github.com/xendit/xendit-go/v3/common" balance "github.com/xendit/xendit-go/v3/balance_and_transaction" @@ -153,7 +151,7 @@ func (c *APIClient) PrepareRequest( headerParams["xendit-lib"] = "go" // TODO: overwrite this line from buddy pipeline - headerParams["xendit-lib-ver"] = "3.0.0" + headerParams["xendit-lib-ver"] = "3.1.0" var body *bytes.Buffer @@ -368,15 +366,6 @@ func addFile(w *multipart.Writer, fieldName, path string) error { return err } - - -// A wrapper for strict JSON decoding -func newStrictDecoder(data []byte) *json.Decoder { - dec := json.NewDecoder(bytes.NewBuffer(data)) - dec.DisallowUnknownFields() - return dec -} - // Set request body from an interface{} func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { if bodyBuf == nil { @@ -480,7 +469,3 @@ func CacheExpires(r *http.Response) time.Time { } return expires } - -func strlen(s string) int { - return utf8.RuneCountInString(s) -} diff --git a/common/common.go b/common/common.go index a9c79154..208cfe22 100644 --- a/common/common.go +++ b/common/common.go @@ -1,4 +1,3 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package common import ( diff --git a/configuration.go b/configuration.go index cfd2ef4e..931a94a3 100644 --- a/configuration.go +++ b/configuration.go @@ -1,4 +1,3 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package xendit import ( @@ -79,7 +78,7 @@ var Default Configuration = *NewConfiguration() func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/3.0.0/go", + UserAgent: "OpenAPI-Generator/3.1.0/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/PaymentMethodApi.md b/docs/PaymentMethodApi.md index d5380abb..a273ce3c 100644 --- a/docs/PaymentMethodApi.md +++ b/docs/PaymentMethodApi.md @@ -526,10 +526,6 @@ func main() { limit := int32(56) // [OPTIONAL] | int32 - afterId := "afterId_example" // [OPTIONAL] | string - - beforeId := "beforeId_example" // [OPTIONAL] | string - xenditClient := xendit.NewClient("API-KEY") resp, r, err := xenditClient.PaymentMethodApi.GetPaymentsByPaymentMethodId(context.Background(), paymentMethodId). @@ -544,9 +540,7 @@ func main() { CreatedLte(createdLte). UpdatedGte(updatedGte). UpdatedLte(updatedLte). - Limit(limit). - AfterId(afterId). - BeforeId(beforeId). // [OPTIONAL] + Limit(limit). // [OPTIONAL] Execute() if err != nil { @@ -590,8 +584,6 @@ Other parameters are passed through a pointer to a apiGetPaymentsByPaymentMethod | **updatedGte** |**time.Time**| | | | **updatedLte** |**time.Time**| | | | **limit** |**int32**| | | -| **afterId** |**string**| | | -| **beforeId** |**string**| | | ### Return type diff --git a/docs/payment_method.yaml b/docs/payment_method.yaml index b8da9979..924a0cfd 100644 --- a/docs/payment_method.yaml +++ b/docs/payment_method.yaml @@ -541,20 +541,6 @@ paths: schema: type: integer style: form - - explode: true - in: query - name: after_id - required: false - schema: - type: string - style: form - - explode: true - in: query - name: before_id - required: false - schema: - type: string - style: form responses: "200": content: @@ -2203,6 +2189,7 @@ components: - PAYMENT_METHOD_NOT_SUPPORTED - INCORRECT_AMOUNT - DUPLICATED_FIXED_PAYMENT_INSTRUMENT + - CURRENCY_MISMATCHED type: string message: example: An internal server error occurred diff --git a/docs/payment_request.yaml b/docs/payment_request.yaml index 9c8dc591..d466b299 100644 --- a/docs/payment_request.yaml +++ b/docs/payment_request.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: description: This API is used for Payment Requests title: Payment Requests - version: 1.42.3 + version: 1.44.0 servers: - description: Xendit API Server url: https://api.xendit.co @@ -112,6 +112,12 @@ paths: schema: $ref: '#/components/schemas/PaymentRequest' description: Request successful + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/PaymentRequest' + description: Request successful "400": content: application/json: diff --git a/invoice/api_invoice.go b/invoice/api_invoice.go index 3a593727..e08cdd24 100644 --- a/invoice/api_invoice.go +++ b/invoice/api_invoice.go @@ -1,4 +1,3 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( diff --git a/invoice/model_address_object.go b/invoice/model_address_object.go index 8695901f..233ac0df 100644 --- a/invoice/model_address_object.go +++ b/invoice/model_address_object.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the AddressObject type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_alternative_display_item.go b/invoice/model_alternative_display_item.go index 119b7bb4..180675bd 100644 --- a/invoice/model_alternative_display_item.go +++ b/invoice/model_alternative_display_item.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the AlternativeDisplayItem type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_bad_request_error.go b/invoice/model_bad_request_error.go index efa8efb0..2cefb2e0 100644 --- a/invoice/model_bad_request_error.go +++ b/invoice/model_bad_request_error.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the BadRequestError type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_bank.go b/invoice/model_bank.go index 5dc16f91..b5f752f6 100644 --- a/invoice/model_bank.go +++ b/invoice/model_bank.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Bank type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_bank_code.go b/invoice/model_bank_code.go index 1b29e193..ff8fc7d0 100644 --- a/invoice/model_bank_code.go +++ b/invoice/model_bank_code.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_create_invoice_request.go b/invoice/model_create_invoice_request.go index 81275753..a65e7302 100644 --- a/invoice/model_create_invoice_request.go +++ b/invoice/model_create_invoice_request.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreateInvoiceRequest type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_customer_object.go b/invoice/model_customer_object.go index 5fd175a9..988f4860 100644 --- a/invoice/model_customer_object.go +++ b/invoice/model_customer_object.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CustomerObject type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_direct_debit.go b/invoice/model_direct_debit.go index f0f57ca1..ad854a8b 100644 --- a/invoice/model_direct_debit.go +++ b/invoice/model_direct_debit.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebit type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_direct_debit_type.go b/invoice/model_direct_debit_type.go index cae68224..85664269 100644 --- a/invoice/model_direct_debit_type.go +++ b/invoice/model_direct_debit_type.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_ewallet.go b/invoice/model_ewallet.go index 13ca33b3..0af07243 100644 --- a/invoice/model_ewallet.go +++ b/invoice/model_ewallet.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Ewallet type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_ewallet_type.go b/invoice/model_ewallet_type.go index 8f5d1023..7597730a 100644 --- a/invoice/model_ewallet_type.go +++ b/invoice/model_ewallet_type.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_forbidden_error.go b/invoice/model_forbidden_error.go index 3ba1e1b7..914967cf 100644 --- a/invoice/model_forbidden_error.go +++ b/invoice/model_forbidden_error.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ForbiddenError type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_invoice.go b/invoice/model_invoice.go index 70da3bd9..6a722595 100644 --- a/invoice/model_invoice.go +++ b/invoice/model_invoice.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/invoice/model_invoice_client_type.go b/invoice/model_invoice_client_type.go index fb3e2770..bebb3c7b 100644 --- a/invoice/model_invoice_client_type.go +++ b/invoice/model_invoice_client_type.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_invoice_currency.go b/invoice/model_invoice_currency.go index 2af6342f..83ad9abf 100644 --- a/invoice/model_invoice_currency.go +++ b/invoice/model_invoice_currency.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_invoice_error404_response_definition.go b/invoice/model_invoice_error404_response_definition.go index e2359f1e..68927187 100644 --- a/invoice/model_invoice_error404_response_definition.go +++ b/invoice/model_invoice_error404_response_definition.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the InvoiceError404ResponseDefinition type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_invoice_fee.go b/invoice/model_invoice_fee.go index 06509a89..6e4502f4 100644 --- a/invoice/model_invoice_fee.go +++ b/invoice/model_invoice_fee.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the InvoiceFee type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_invoice_item.go b/invoice/model_invoice_item.go index cc5292ad..6bae719e 100644 --- a/invoice/model_invoice_item.go +++ b/invoice/model_invoice_item.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the InvoiceItem type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_invoice_not_found_error.go b/invoice/model_invoice_not_found_error.go index 7ab77056..07e8233c 100644 --- a/invoice/model_invoice_not_found_error.go +++ b/invoice/model_invoice_not_found_error.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the InvoiceNotFoundError type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_invoice_payment_method.go b/invoice/model_invoice_payment_method.go index acf30940..fd942287 100644 --- a/invoice/model_invoice_payment_method.go +++ b/invoice/model_invoice_payment_method.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_invoice_status.go b/invoice/model_invoice_status.go index 6f58011c..ba45ca08 100644 --- a/invoice/model_invoice_status.go +++ b/invoice/model_invoice_status.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_notification_channel.go b/invoice/model_notification_channel.go index 3ae13655..f3ef1bb5 100644 --- a/invoice/model_notification_channel.go +++ b/invoice/model_notification_channel.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_notification_preference.go b/invoice/model_notification_preference.go index 04c06f52..9dd30517 100644 --- a/invoice/model_notification_preference.go +++ b/invoice/model_notification_preference.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the NotificationPreference type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_paylater.go b/invoice/model_paylater.go index 37a0dec2..a632e066 100644 --- a/invoice/model_paylater.go +++ b/invoice/model_paylater.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Paylater type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_paylater_type.go b/invoice/model_paylater_type.go index c80a7127..0f930258 100644 --- a/invoice/model_paylater_type.go +++ b/invoice/model_paylater_type.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_qr_code.go b/invoice/model_qr_code.go index e3db115e..3d51cdc5 100644 --- a/invoice/model_qr_code.go +++ b/invoice/model_qr_code.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the QrCode type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_qr_code_type.go b/invoice/model_qr_code_type.go index c07d6733..1c337cda 100644 --- a/invoice/model_qr_code_type.go +++ b/invoice/model_qr_code_type.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_retail_outlet.go b/invoice/model_retail_outlet.go index 19e4c3fd..94c65814 100644 --- a/invoice/model_retail_outlet.go +++ b/invoice/model_retail_outlet.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the RetailOutlet type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_retail_outlet_name.go b/invoice/model_retail_outlet_name.go index 63482c58..500a44f3 100644 --- a/invoice/model_retail_outlet_name.go +++ b/invoice/model_retail_outlet_name.go @@ -6,7 +6,6 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice diff --git a/invoice/model_server_error.go b/invoice/model_server_error.go index 8b9aacff..d230e925 100644 --- a/invoice/model_server_error.go +++ b/invoice/model_server_error.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ServerError type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_unauthorized_error.go b/invoice/model_unauthorized_error.go index f73a5929..86e6ad3c 100644 --- a/invoice/model_unauthorized_error.go +++ b/invoice/model_unauthorized_error.go @@ -6,16 +6,13 @@ xendit-invoice-service descriptions API version: 1.5.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the UnauthorizedError type satisfies the MappedNullable interface at compile time diff --git a/invoice/nullable.go b/invoice/nullable.go index 1e7ee8ac..ff14c414 100644 --- a/invoice/nullable.go +++ b/invoice/nullable.go @@ -1,4 +1,3 @@ -// Code generated by Xendit OpenAPI Generator; DO NOT EDIT. package invoice import ( diff --git a/payment_method/api_payment_method.go b/payment_method/api_payment_method.go index 8f1f366d..1ff61282 100644 --- a/payment_method/api_payment_method.go +++ b/payment_method/api_payment_method.go @@ -1,4 +1,3 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( @@ -843,8 +842,6 @@ type ApiGetPaymentsByPaymentMethodIdRequest struct { updatedGte *time.Time updatedLte *time.Time limit *int32 - afterId *string - beforeId *string } func (r ApiGetPaymentsByPaymentMethodIdRequest) PaymentRequestId(paymentRequestId []string) ApiGetPaymentsByPaymentMethodIdRequest { @@ -907,16 +904,6 @@ func (r ApiGetPaymentsByPaymentMethodIdRequest) Limit(limit int32) ApiGetPayment return r } -func (r ApiGetPaymentsByPaymentMethodIdRequest) AfterId(afterId string) ApiGetPaymentsByPaymentMethodIdRequest { - r.afterId = &afterId - return r -} - -func (r ApiGetPaymentsByPaymentMethodIdRequest) BeforeId(beforeId string) ApiGetPaymentsByPaymentMethodIdRequest { - r.beforeId = &beforeId - return r -} - func (r ApiGetPaymentsByPaymentMethodIdRequest) Execute() (map[string]interface{}, *http.Response, *common.XenditSdkError) { return r.ApiService.GetPaymentsByPaymentMethodIdExecute(r) } @@ -1052,12 +1039,6 @@ func (a *PaymentMethodApiService) GetPaymentsByPaymentMethodIdExecute(r ApiGetPa if r.limit != nil { utils.ParameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") } - if r.afterId != nil { - utils.ParameterAddToHeaderOrQuery(localVarQueryParams, "after_id", r.afterId, "") - } - if r.beforeId != nil { - utils.ParameterAddToHeaderOrQuery(localVarQueryParams, "before_id", r.beforeId, "") - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/payment_method/model_billing_information.go b/payment_method/model_billing_information.go index 4cfb2bc2..0fe4e3d0 100644 --- a/payment_method/model_billing_information.go +++ b/payment_method/model_billing_information.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the BillingInformation type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_card.go b/payment_method/model_card.go index ffbb2dac..8aa1f878 100644 --- a/payment_method/model_card.go +++ b/payment_method/model_card.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Card type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_card_channel_properties.go b/payment_method/model_card_channel_properties.go index 13da5297..952ef132 100644 --- a/payment_method/model_card_channel_properties.go +++ b/payment_method/model_card_channel_properties.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CardChannelProperties type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_card_parameters.go b/payment_method/model_card_parameters.go index 1f6be2c6..de932faf 100644 --- a/payment_method/model_card_parameters.go +++ b/payment_method/model_card_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CardParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_card_parameters_card_information.go b/payment_method/model_card_parameters_card_information.go index 73c093fc..9a78f94c 100644 --- a/payment_method/model_card_parameters_card_information.go +++ b/payment_method/model_card_parameters_card_information.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CardParametersCardInformation type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_card_verification_results.go b/payment_method/model_card_verification_results.go index a4c225ef..b0b503ad 100644 --- a/payment_method/model_card_verification_results.go +++ b/payment_method/model_card_verification_results.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CardVerificationResults type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_card_verification_results_three_d_secure.go b/payment_method/model_card_verification_results_three_d_secure.go index f746d82f..7bde2a2b 100644 --- a/payment_method/model_card_verification_results_three_d_secure.go +++ b/payment_method/model_card_verification_results_three_d_secure.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CardVerificationResultsThreeDSecure type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_channel_amount_limits.go b/payment_method/model_channel_amount_limits.go index 876dd4b3..18c89c6a 100644 --- a/payment_method/model_channel_amount_limits.go +++ b/payment_method/model_channel_amount_limits.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ChannelAmountLimits type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_channel_amount_limits_all_of.go b/payment_method/model_channel_amount_limits_all_of.go index 7f4b2820..bf99da5e 100644 --- a/payment_method/model_channel_amount_limits_all_of.go +++ b/payment_method/model_channel_amount_limits_all_of.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ChannelAmountLimitsAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_channel_property.go b/payment_method/model_channel_property.go index 6c58cf13..37de4972 100644 --- a/payment_method/model_channel_property.go +++ b/payment_method/model_channel_property.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ChannelProperty type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_channel_property_all_of.go b/payment_method/model_channel_property_all_of.go index c079edf5..3a0ea23a 100644 --- a/payment_method/model_channel_property_all_of.go +++ b/payment_method/model_channel_property_all_of.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ChannelPropertyAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_create_payment_method_409_response.go b/payment_method/model_create_payment_method_409_response.go index 70156c6b..6fbf38fb 100644 --- a/payment_method/model_create_payment_method_409_response.go +++ b/payment_method/model_create_payment_method_409_response.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreatePaymentMethod409Response type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_create_payment_method_503_response.go b/payment_method/model_create_payment_method_503_response.go index f01fa4b4..0812b6b1 100644 --- a/payment_method/model_create_payment_method_503_response.go +++ b/payment_method/model_create_payment_method_503_response.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreatePaymentMethod503Response type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_direct_debit.go b/payment_method/model_direct_debit.go index 5f56b197..0ff1836d 100644 --- a/payment_method/model_direct_debit.go +++ b/payment_method/model_direct_debit.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebit type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_direct_debit_all_of.go b/payment_method/model_direct_debit_all_of.go index 5e76c0f4..d905fda0 100644 --- a/payment_method/model_direct_debit_all_of.go +++ b/payment_method/model_direct_debit_all_of.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_direct_debit_bank_account.go b/payment_method/model_direct_debit_bank_account.go index b61c87e7..a4bc5c40 100644 --- a/payment_method/model_direct_debit_bank_account.go +++ b/payment_method/model_direct_debit_bank_account.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitBankAccount type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_direct_debit_channel_code.go b/payment_method/model_direct_debit_channel_code.go index 02e938f9..f9ed5be2 100644 --- a/payment_method/model_direct_debit_channel_code.go +++ b/payment_method/model_direct_debit_channel_code.go @@ -6,7 +6,6 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method diff --git a/payment_method/model_direct_debit_channel_properties.go b/payment_method/model_direct_debit_channel_properties.go index 48d59d7f..921541c5 100644 --- a/payment_method/model_direct_debit_channel_properties.go +++ b/payment_method/model_direct_debit_channel_properties.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitChannelProperties type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_direct_debit_debit_card.go b/payment_method/model_direct_debit_debit_card.go index 0f16f459..b8550d44 100644 --- a/payment_method/model_direct_debit_debit_card.go +++ b/payment_method/model_direct_debit_debit_card.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitDebitCard type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_direct_debit_parameters.go b/payment_method/model_direct_debit_parameters.go index a9adc329..d32d7850 100644 --- a/payment_method/model_direct_debit_parameters.go +++ b/payment_method/model_direct_debit_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_direct_debit_type.go b/payment_method/model_direct_debit_type.go index 92c0462b..9f3a96d8 100644 --- a/payment_method/model_direct_debit_type.go +++ b/payment_method/model_direct_debit_type.go @@ -6,7 +6,6 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method diff --git a/payment_method/model_e_wallet.go b/payment_method/model_e_wallet.go index ad727646..6031412e 100644 --- a/payment_method/model_e_wallet.go +++ b/payment_method/model_e_wallet.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the EWallet type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_e_wallet_account.go b/payment_method/model_e_wallet_account.go index 8c02612c..77b36179 100644 --- a/payment_method/model_e_wallet_account.go +++ b/payment_method/model_e_wallet_account.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the EWalletAccount type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_e_wallet_channel_code.go b/payment_method/model_e_wallet_channel_code.go index 352ebf9b..f4d50443 100644 --- a/payment_method/model_e_wallet_channel_code.go +++ b/payment_method/model_e_wallet_channel_code.go @@ -6,7 +6,6 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method diff --git a/payment_method/model_e_wallet_channel_properties.go b/payment_method/model_e_wallet_channel_properties.go index 710aff60..8212db86 100644 --- a/payment_method/model_e_wallet_channel_properties.go +++ b/payment_method/model_e_wallet_channel_properties.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the EWalletChannelProperties type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_e_wallet_parameters.go b/payment_method/model_e_wallet_parameters.go index cef31aaf..5542602b 100644 --- a/payment_method/model_e_wallet_parameters.go +++ b/payment_method/model_e_wallet_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the EWalletParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_get_all_payment_methods_400_response.go b/payment_method/model_get_all_payment_methods_400_response.go index be797ec2..ac2829af 100644 --- a/payment_method/model_get_all_payment_methods_400_response.go +++ b/payment_method/model_get_all_payment_methods_400_response.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the GetAllPaymentMethods400Response type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_get_all_payment_methods_403_response.go b/payment_method/model_get_all_payment_methods_403_response.go index 134d3779..7e581763 100644 --- a/payment_method/model_get_all_payment_methods_403_response.go +++ b/payment_method/model_get_all_payment_methods_403_response.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the GetAllPaymentMethods403Response type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_get_all_payment_methods_404_response.go b/payment_method/model_get_all_payment_methods_404_response.go index b3418d1c..e238eee4 100644 --- a/payment_method/model_get_all_payment_methods_404_response.go +++ b/payment_method/model_get_all_payment_methods_404_response.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the GetAllPaymentMethods404Response type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_get_all_payment_methods_default_response.go b/payment_method/model_get_all_payment_methods_default_response.go index 12f74245..3393deb7 100644 --- a/payment_method/model_get_all_payment_methods_default_response.go +++ b/payment_method/model_get_all_payment_methods_default_response.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the GetAllPaymentMethodsDefaultResponse type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_over_the_counter.go b/payment_method/model_over_the_counter.go index 3f2a22e6..24be9cd2 100644 --- a/payment_method/model_over_the_counter.go +++ b/payment_method/model_over_the_counter.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the OverTheCounter type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_over_the_counter_channel_code.go b/payment_method/model_over_the_counter_channel_code.go index 5bfe0e4b..54ed2eca 100644 --- a/payment_method/model_over_the_counter_channel_code.go +++ b/payment_method/model_over_the_counter_channel_code.go @@ -6,7 +6,6 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method diff --git a/payment_method/model_over_the_counter_channel_properties.go b/payment_method/model_over_the_counter_channel_properties.go index 46b29a70..62c4d245 100644 --- a/payment_method/model_over_the_counter_channel_properties.go +++ b/payment_method/model_over_the_counter_channel_properties.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payment_method/model_over_the_counter_channel_properties_update.go b/payment_method/model_over_the_counter_channel_properties_update.go index a5ec0078..e8bee05c 100644 --- a/payment_method/model_over_the_counter_channel_properties_update.go +++ b/payment_method/model_over_the_counter_channel_properties_update.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payment_method/model_over_the_counter_parameters.go b/payment_method/model_over_the_counter_parameters.go index 55e5cafb..e658848d 100644 --- a/payment_method/model_over_the_counter_parameters.go +++ b/payment_method/model_over_the_counter_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the OverTheCounterParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_over_the_counter_update_parameters.go b/payment_method/model_over_the_counter_update_parameters.go index b2e3803f..2100e75e 100644 --- a/payment_method/model_over_the_counter_update_parameters.go +++ b/payment_method/model_over_the_counter_update_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the OverTheCounterUpdateParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_channel.go b/payment_method/model_payment_channel.go index cf26f865..655d1818 100644 --- a/payment_method/model_payment_channel.go +++ b/payment_method/model_payment_channel.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentChannel type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_channel_all_of.go b/payment_method/model_payment_channel_all_of.go index 7aee0025..1141bbab 100644 --- a/payment_method/model_payment_channel_all_of.go +++ b/payment_method/model_payment_channel_all_of.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentChannelAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_channel_list.go b/payment_method/model_payment_channel_list.go index 7af05ff3..2c79c30c 100644 --- a/payment_method/model_payment_channel_list.go +++ b/payment_method/model_payment_channel_list.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentChannelList type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_channel_list_links_inner.go b/payment_method/model_payment_channel_list_links_inner.go index 92450889..79f613ef 100644 --- a/payment_method/model_payment_channel_list_links_inner.go +++ b/payment_method/model_payment_channel_list_links_inner.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentChannelListLinksInner type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_channel_list_links_inner_all_of.go b/payment_method/model_payment_channel_list_links_inner_all_of.go index 83592aed..ce646626 100644 --- a/payment_method/model_payment_channel_list_links_inner_all_of.go +++ b/payment_method/model_payment_channel_list_links_inner_all_of.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentChannelListLinksInnerAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_method.go b/payment_method/model_payment_method.go index 4162a002..b8df734a 100644 --- a/payment_method/model_payment_method.go +++ b/payment_method/model_payment_method.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payment_method/model_payment_method_action.go b/payment_method/model_payment_method_action.go index eccac364..eb899726 100644 --- a/payment_method/model_payment_method_action.go +++ b/payment_method/model_payment_method_action.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentMethodAction type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_method_auth_parameters.go b/payment_method/model_payment_method_auth_parameters.go index 9313457b..3b2c83b7 100644 --- a/payment_method/model_payment_method_auth_parameters.go +++ b/payment_method/model_payment_method_auth_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentMethodAuthParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_method_country.go b/payment_method/model_payment_method_country.go index 74eb689e..28bc0016 100644 --- a/payment_method/model_payment_method_country.go +++ b/payment_method/model_payment_method_country.go @@ -6,7 +6,6 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method diff --git a/payment_method/model_payment_method_expire_parameters.go b/payment_method/model_payment_method_expire_parameters.go index addc0701..71efa488 100644 --- a/payment_method/model_payment_method_expire_parameters.go +++ b/payment_method/model_payment_method_expire_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentMethodExpireParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_method_list.go b/payment_method/model_payment_method_list.go index a0f2623a..dde8e410 100644 --- a/payment_method/model_payment_method_list.go +++ b/payment_method/model_payment_method_list.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentMethodList type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_method_parameters.go b/payment_method/model_payment_method_parameters.go index e62d3f83..34fb7005 100644 --- a/payment_method/model_payment_method_parameters.go +++ b/payment_method/model_payment_method_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentMethodParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_method_reusability.go b/payment_method/model_payment_method_reusability.go index d4d520d8..a36997e3 100644 --- a/payment_method/model_payment_method_reusability.go +++ b/payment_method/model_payment_method_reusability.go @@ -6,7 +6,6 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method diff --git a/payment_method/model_payment_method_status.go b/payment_method/model_payment_method_status.go index ae0bfa46..43562bb9 100644 --- a/payment_method/model_payment_method_status.go +++ b/payment_method/model_payment_method_status.go @@ -6,7 +6,6 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method diff --git a/payment_method/model_payment_method_type.go b/payment_method/model_payment_method_type.go index f31b4c6f..d967cde9 100644 --- a/payment_method/model_payment_method_type.go +++ b/payment_method/model_payment_method_type.go @@ -6,7 +6,6 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method diff --git a/payment_method/model_payment_method_update_parameters.go b/payment_method/model_payment_method_update_parameters.go index ca340f83..b7242658 100644 --- a/payment_method/model_payment_method_update_parameters.go +++ b/payment_method/model_payment_method_update_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentMethodUpdateParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_qr_code.go b/payment_method/model_qr_code.go index 05c2ef3a..ca4ba3e7 100644 --- a/payment_method/model_qr_code.go +++ b/payment_method/model_qr_code.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the QRCode type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_qr_code_channel_code.go b/payment_method/model_qr_code_channel_code.go index 24f9e3aa..1aaa4a0e 100644 --- a/payment_method/model_qr_code_channel_code.go +++ b/payment_method/model_qr_code_channel_code.go @@ -6,7 +6,6 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method diff --git a/payment_method/model_qr_code_channel_properties.go b/payment_method/model_qr_code_channel_properties.go index e09aec5b..d3c0a5cb 100644 --- a/payment_method/model_qr_code_channel_properties.go +++ b/payment_method/model_qr_code_channel_properties.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payment_method/model_qr_code_parameters.go b/payment_method/model_qr_code_parameters.go index e34a1a9b..da298232 100644 --- a/payment_method/model_qr_code_parameters.go +++ b/payment_method/model_qr_code_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the QRCodeParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_simulate_payment_request.go b/payment_method/model_simulate_payment_request.go index 4547dcd1..fd2a373c 100644 --- a/payment_method/model_simulate_payment_request.go +++ b/payment_method/model_simulate_payment_request.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the SimulatePaymentRequest type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_tokenized_card_information.go b/payment_method/model_tokenized_card_information.go index 59904e1e..148952c5 100644 --- a/payment_method/model_tokenized_card_information.go +++ b/payment_method/model_tokenized_card_information.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the TokenizedCardInformation type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_virtual_account.go b/payment_method/model_virtual_account.go index 4097997a..e1cdcff0 100644 --- a/payment_method/model_virtual_account.go +++ b/payment_method/model_virtual_account.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the VirtualAccount type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_virtual_account_all_of.go b/payment_method/model_virtual_account_all_of.go index a7e18178..709dae87 100644 --- a/payment_method/model_virtual_account_all_of.go +++ b/payment_method/model_virtual_account_all_of.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the VirtualAccountAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_virtual_account_alternative_display.go b/payment_method/model_virtual_account_alternative_display.go index f710a2f8..14790a6d 100644 --- a/payment_method/model_virtual_account_alternative_display.go +++ b/payment_method/model_virtual_account_alternative_display.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the VirtualAccountAlternativeDisplay type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_virtual_account_channel_code.go b/payment_method/model_virtual_account_channel_code.go index a25ac025..ec8765a8 100644 --- a/payment_method/model_virtual_account_channel_code.go +++ b/payment_method/model_virtual_account_channel_code.go @@ -6,7 +6,6 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method diff --git a/payment_method/model_virtual_account_channel_properties.go b/payment_method/model_virtual_account_channel_properties.go index e83b3b30..da8ab8f4 100644 --- a/payment_method/model_virtual_account_channel_properties.go +++ b/payment_method/model_virtual_account_channel_properties.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payment_method/model_virtual_account_channel_properties_patch.go b/payment_method/model_virtual_account_channel_properties_patch.go index 6d277925..fbf2cf06 100644 --- a/payment_method/model_virtual_account_channel_properties_patch.go +++ b/payment_method/model_virtual_account_channel_properties_patch.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payment_method/model_virtual_account_parameters.go b/payment_method/model_virtual_account_parameters.go index a8784103..d6c277de 100644 --- a/payment_method/model_virtual_account_parameters.go +++ b/payment_method/model_virtual_account_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the VirtualAccountParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_virtual_account_update_parameters.go b/payment_method/model_virtual_account_update_parameters.go index b7fe242d..aaa7b834 100644 --- a/payment_method/model_virtual_account_update_parameters.go +++ b/payment_method/model_virtual_account_update_parameters.go @@ -6,16 +6,13 @@ This API is used for Payment Method Service v2 API version: 2.87.2 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the VirtualAccountUpdateParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/nullable.go b/payment_method/nullable.go index 93ccc83f..71ce4596 100644 --- a/payment_method/nullable.go +++ b/payment_method/nullable.go @@ -1,4 +1,3 @@ -// Code generated by Xendit OpenAPI Generator; DO NOT EDIT. package payment_method import ( diff --git a/payment_request/api_payment_request.go b/payment_request/api_payment_request.go index 714a60a1..b847e433 100644 --- a/payment_request/api_payment_request.go +++ b/payment_request/api_payment_request.go @@ -1,4 +1,3 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( diff --git a/payment_request/model_capture.go b/payment_request/model_capture.go index 0b399114..224f1e45 100644 --- a/payment_request/model_capture.go +++ b/payment_request/model_capture.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Capture type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_capture_list_response.go b/payment_request/model_capture_list_response.go index fa433e65..3cc34015 100644 --- a/payment_request/model_capture_list_response.go +++ b/payment_request/model_capture_list_response.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CaptureListResponse type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_capture_parameters.go b/payment_request/model_capture_parameters.go index 036d76c1..166fd307 100644 --- a/payment_request/model_capture_parameters.go +++ b/payment_request/model_capture_parameters.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CaptureParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_card.go b/payment_request/model_card.go index 48c85d11..ba07b45f 100644 --- a/payment_request/model_card.go +++ b/payment_request/model_card.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Card type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_card_channel_properties.go b/payment_request/model_card_channel_properties.go index 26cd2a6b..e2ce6a94 100644 --- a/payment_request/model_card_channel_properties.go +++ b/payment_request/model_card_channel_properties.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CardChannelProperties type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_card_information.go b/payment_request/model_card_information.go index 502a6931..97b9c96e 100644 --- a/payment_request/model_card_information.go +++ b/payment_request/model_card_information.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CardInformation type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_card_verification_results.go b/payment_request/model_card_verification_results.go index 01c5ea75..1196f890 100644 --- a/payment_request/model_card_verification_results.go +++ b/payment_request/model_card_verification_results.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CardVerificationResults type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_card_verification_results_three_d_secure.go b/payment_request/model_card_verification_results_three_d_secure.go index 0d18b4f5..adfe7888 100644 --- a/payment_request/model_card_verification_results_three_d_secure.go +++ b/payment_request/model_card_verification_results_three_d_secure.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CardVerificationResultsThreeDSecure type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_direct_debit.go b/payment_request/model_direct_debit.go index 3afc8ac5..16e675ce 100644 --- a/payment_request/model_direct_debit.go +++ b/payment_request/model_direct_debit.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebit type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_direct_debit_all_of.go b/payment_request/model_direct_debit_all_of.go index b56db01d..4f6c8d42 100644 --- a/payment_request/model_direct_debit_all_of.go +++ b/payment_request/model_direct_debit_all_of.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_direct_debit_bank_account.go b/payment_request/model_direct_debit_bank_account.go index 3ee172bf..0a8c9625 100644 --- a/payment_request/model_direct_debit_bank_account.go +++ b/payment_request/model_direct_debit_bank_account.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitBankAccount type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_direct_debit_channel_code.go b/payment_request/model_direct_debit_channel_code.go index 600301a7..1e925d5d 100644 --- a/payment_request/model_direct_debit_channel_code.go +++ b/payment_request/model_direct_debit_channel_code.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_direct_debit_channel_properties.go b/payment_request/model_direct_debit_channel_properties.go index 2b46e5ef..fcc65533 100644 --- a/payment_request/model_direct_debit_channel_properties.go +++ b/payment_request/model_direct_debit_channel_properties.go @@ -3,16 +3,14 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - "fmt" ) diff --git a/payment_request/model_direct_debit_channel_properties_bank_account.go b/payment_request/model_direct_debit_channel_properties_bank_account.go index 878fd63b..2045af72 100644 --- a/payment_request/model_direct_debit_channel_properties_bank_account.go +++ b/payment_request/model_direct_debit_channel_properties_bank_account.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitChannelPropertiesBankAccount type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_direct_debit_channel_properties_bank_redirect.go b/payment_request/model_direct_debit_channel_properties_bank_redirect.go index fc2b5371..878283b0 100644 --- a/payment_request/model_direct_debit_channel_properties_bank_redirect.go +++ b/payment_request/model_direct_debit_channel_properties_bank_redirect.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitChannelPropertiesBankRedirect type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_direct_debit_channel_properties_debit_card.go b/payment_request/model_direct_debit_channel_properties_debit_card.go index 1af27978..57254211 100644 --- a/payment_request/model_direct_debit_channel_properties_debit_card.go +++ b/payment_request/model_direct_debit_channel_properties_debit_card.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitChannelPropertiesDebitCard type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_direct_debit_debit_card.go b/payment_request/model_direct_debit_debit_card.go index ae34955f..3d4446cf 100644 --- a/payment_request/model_direct_debit_debit_card.go +++ b/payment_request/model_direct_debit_debit_card.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitDebitCard type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_direct_debit_parameters.go b/payment_request/model_direct_debit_parameters.go index df158f23..b591b8d8 100644 --- a/payment_request/model_direct_debit_parameters.go +++ b/payment_request/model_direct_debit_parameters.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DirectDebitParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_direct_debit_type.go b/payment_request/model_direct_debit_type.go index 33ea6fe0..3a997946 100644 --- a/payment_request/model_direct_debit_type.go +++ b/payment_request/model_direct_debit_type.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_e_wallet.go b/payment_request/model_e_wallet.go index 219ec3dd..7d414ddf 100644 --- a/payment_request/model_e_wallet.go +++ b/payment_request/model_e_wallet.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the EWallet type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_e_wallet_account.go b/payment_request/model_e_wallet_account.go index e81b24b9..5538b678 100644 --- a/payment_request/model_e_wallet_account.go +++ b/payment_request/model_e_wallet_account.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the EWalletAccount type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_e_wallet_all_of.go b/payment_request/model_e_wallet_all_of.go index e48403b5..7975d737 100644 --- a/payment_request/model_e_wallet_all_of.go +++ b/payment_request/model_e_wallet_all_of.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the EWalletAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_e_wallet_channel_code.go b/payment_request/model_e_wallet_channel_code.go index d60aea80..f1f49ff1 100644 --- a/payment_request/model_e_wallet_channel_code.go +++ b/payment_request/model_e_wallet_channel_code.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_e_wallet_channel_properties.go b/payment_request/model_e_wallet_channel_properties.go index 2b8df817..1250b843 100644 --- a/payment_request/model_e_wallet_channel_properties.go +++ b/payment_request/model_e_wallet_channel_properties.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the EWalletChannelProperties type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_e_wallet_parameters.go b/payment_request/model_e_wallet_parameters.go index 7e3ce877..68ff369f 100644 --- a/payment_request/model_e_wallet_parameters.go +++ b/payment_request/model_e_wallet_parameters.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the EWalletParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_error.go b/payment_request/model_error.go index 21601c7e..a771a5f8 100644 --- a/payment_request/model_error.go +++ b/payment_request/model_error.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Error type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_over_the_counter.go b/payment_request/model_over_the_counter.go index 23f3a0fa..f890905c 100644 --- a/payment_request/model_over_the_counter.go +++ b/payment_request/model_over_the_counter.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the OverTheCounter type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_over_the_counter_channel_code.go b/payment_request/model_over_the_counter_channel_code.go index 61f67b84..a4968657 100644 --- a/payment_request/model_over_the_counter_channel_code.go +++ b/payment_request/model_over_the_counter_channel_code.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_over_the_counter_channel_properties.go b/payment_request/model_over_the_counter_channel_properties.go index 7aceb842..a488821b 100644 --- a/payment_request/model_over_the_counter_channel_properties.go +++ b/payment_request/model_over_the_counter_channel_properties.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payment_request/model_over_the_counter_parameters.go b/payment_request/model_over_the_counter_parameters.go index f7282feb..d5d3e982 100644 --- a/payment_request/model_over_the_counter_parameters.go +++ b/payment_request/model_over_the_counter_parameters.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the OverTheCounterParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_method.go b/payment_request/model_payment_method.go index 55431c5e..2f3ef10d 100644 --- a/payment_request/model_payment_method.go +++ b/payment_request/model_payment_method.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentMethod type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_method_parameters.go b/payment_request/model_payment_method_parameters.go index a33cc8e4..74d0854e 100644 --- a/payment_request/model_payment_method_parameters.go +++ b/payment_request/model_payment_method_parameters.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentMethodParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_method_reusability.go b/payment_request/model_payment_method_reusability.go index 2d8047e2..bd0f8304 100644 --- a/payment_request/model_payment_method_reusability.go +++ b/payment_request/model_payment_method_reusability.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_payment_method_status.go b/payment_request/model_payment_method_status.go index 07ae0baa..94ebd269 100644 --- a/payment_request/model_payment_method_status.go +++ b/payment_request/model_payment_method_status.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_payment_method_type.go b/payment_request/model_payment_method_type.go index 3fdaf746..f48e84ef 100644 --- a/payment_request/model_payment_method_type.go +++ b/payment_request/model_payment_method_type.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_payment_request.go b/payment_request/model_payment_request.go index afad95ca..fe3c2774 100644 --- a/payment_request/model_payment_request.go +++ b/payment_request/model_payment_request.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequest type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_action.go b/payment_request/model_payment_request_action.go index 888584a4..05024f0e 100644 --- a/payment_request/model_payment_request_action.go +++ b/payment_request/model_payment_request_action.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestAction type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_auth_parameters.go b/payment_request/model_payment_request_auth_parameters.go index 1ec2695f..2a3e799c 100644 --- a/payment_request/model_payment_request_auth_parameters.go +++ b/payment_request/model_payment_request_auth_parameters.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestAuthParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_basket_item.go b/payment_request/model_payment_request_basket_item.go index c1ca59a9..d4666615 100644 --- a/payment_request/model_payment_request_basket_item.go +++ b/payment_request/model_payment_request_basket_item.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestBasketItem type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_capture_method.go b/payment_request/model_payment_request_capture_method.go index 0a700f90..67d849a1 100644 --- a/payment_request/model_payment_request_capture_method.go +++ b/payment_request/model_payment_request_capture_method.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_payment_request_card_verification_results.go b/payment_request/model_payment_request_card_verification_results.go index 1cff7265..59f24622 100644 --- a/payment_request/model_payment_request_card_verification_results.go +++ b/payment_request/model_payment_request_card_verification_results.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestCardVerificationResults type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_card_verification_results_three_dee_secure.go b/payment_request/model_payment_request_card_verification_results_three_dee_secure.go index 8dbc5c76..dce2063d 100644 --- a/payment_request/model_payment_request_card_verification_results_three_dee_secure.go +++ b/payment_request/model_payment_request_card_verification_results_three_dee_secure.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestCardVerificationResultsThreeDeeSecure type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_channel_properties.go b/payment_request/model_payment_request_channel_properties.go index bf60e8a0..1fd27e99 100644 --- a/payment_request/model_payment_request_channel_properties.go +++ b/payment_request/model_payment_request_channel_properties.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestChannelProperties type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_country.go b/payment_request/model_payment_request_country.go index 0863e0b3..42ea38a5 100644 --- a/payment_request/model_payment_request_country.go +++ b/payment_request/model_payment_request_country.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_payment_request_currency.go b/payment_request/model_payment_request_currency.go index b92a9a73..d5909f1a 100644 --- a/payment_request/model_payment_request_currency.go +++ b/payment_request/model_payment_request_currency.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_payment_request_initiator.go b/payment_request/model_payment_request_initiator.go index 632a031d..fd4d3bb5 100644 --- a/payment_request/model_payment_request_initiator.go +++ b/payment_request/model_payment_request_initiator.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_payment_request_list_response.go b/payment_request/model_payment_request_list_response.go index 505d46aa..5abd9b7c 100644 --- a/payment_request/model_payment_request_list_response.go +++ b/payment_request/model_payment_request_list_response.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestListResponse type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_parameters.go b/payment_request/model_payment_request_parameters.go index 6cdab8a2..609ac802 100644 --- a/payment_request/model_payment_request_parameters.go +++ b/payment_request/model_payment_request_parameters.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_parameters_channel_properties.go b/payment_request/model_payment_request_parameters_channel_properties.go index c1d4621a..7765658a 100644 --- a/payment_request/model_payment_request_parameters_channel_properties.go +++ b/payment_request/model_payment_request_parameters_channel_properties.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestParametersChannelProperties type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_parameters_channel_properties_all_of.go b/payment_request/model_payment_request_parameters_channel_properties_all_of.go index 626eb355..ad474fb6 100644 --- a/payment_request/model_payment_request_parameters_channel_properties_all_of.go +++ b/payment_request/model_payment_request_parameters_channel_properties_all_of.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestParametersChannelPropertiesAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_shipping_information.go b/payment_request/model_payment_request_shipping_information.go index 0fa53b13..56ae34ea 100644 --- a/payment_request/model_payment_request_shipping_information.go +++ b/payment_request/model_payment_request_shipping_information.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the PaymentRequestShippingInformation type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_status.go b/payment_request/model_payment_request_status.go index 2526682c..53c28b23 100644 --- a/payment_request/model_payment_request_status.go +++ b/payment_request/model_payment_request_status.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_qr_code.go b/payment_request/model_qr_code.go index 86149ec7..0b05e69b 100644 --- a/payment_request/model_qr_code.go +++ b/payment_request/model_qr_code.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the QRCode type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_qr_code_channel_code.go b/payment_request/model_qr_code_channel_code.go index 3b437f75..ace59764 100644 --- a/payment_request/model_qr_code_channel_code.go +++ b/payment_request/model_qr_code_channel_code.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_qr_code_channel_properties.go b/payment_request/model_qr_code_channel_properties.go index bd989dc1..e6305f21 100644 --- a/payment_request/model_qr_code_channel_properties.go +++ b/payment_request/model_qr_code_channel_properties.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payment_request/model_qr_code_parameters.go b/payment_request/model_qr_code_parameters.go index cde0d667..839d1681 100644 --- a/payment_request/model_qr_code_parameters.go +++ b/payment_request/model_qr_code_parameters.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the QRCodeParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_virtual_account.go b/payment_request/model_virtual_account.go index 38dc4eda..1df664b7 100644 --- a/payment_request/model_virtual_account.go +++ b/payment_request/model_virtual_account.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the VirtualAccount type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_virtual_account_all_of.go b/payment_request/model_virtual_account_all_of.go index 93a638e4..62f4cd9d 100644 --- a/payment_request/model_virtual_account_all_of.go +++ b/payment_request/model_virtual_account_all_of.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the VirtualAccountAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_virtual_account_alternative_display.go b/payment_request/model_virtual_account_alternative_display.go index b575d1f8..4a490298 100644 --- a/payment_request/model_virtual_account_alternative_display.go +++ b/payment_request/model_virtual_account_alternative_display.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the VirtualAccountAlternativeDisplay type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_virtual_account_channel_code.go b/payment_request/model_virtual_account_channel_code.go index 93643036..f1e53c8f 100644 --- a/payment_request/model_virtual_account_channel_code.go +++ b/payment_request/model_virtual_account_channel_code.go @@ -3,10 +3,9 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request diff --git a/payment_request/model_virtual_account_channel_properties.go b/payment_request/model_virtual_account_channel_properties.go index aab69a48..8f1ec608 100644 --- a/payment_request/model_virtual_account_channel_properties.go +++ b/payment_request/model_virtual_account_channel_properties.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payment_request/model_virtual_account_parameters.go b/payment_request/model_virtual_account_parameters.go index b714e331..1cf2e0d7 100644 --- a/payment_request/model_virtual_account_parameters.go +++ b/payment_request/model_virtual_account_parameters.go @@ -3,19 +3,16 @@ Payment Requests This API is used for Payment Requests -API version: 1.42.3 +API version: 1.44.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the VirtualAccountParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/nullable.go b/payment_request/nullable.go index afd5b6ad..a2b17d31 100644 --- a/payment_request/nullable.go +++ b/payment_request/nullable.go @@ -1,4 +1,3 @@ -// Code generated by Xendit OpenAPI Generator; DO NOT EDIT. package payment_request import ( diff --git a/payout/api_payout.go b/payout/api_payout.go index 8c79223f..d3c1a23d 100644 --- a/payout/api_payout.go +++ b/payout/api_payout.go @@ -1,4 +1,3 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( diff --git a/payout/model_channel.go b/payout/model_channel.go index a015161a..c88876da 100644 --- a/payout/model_channel.go +++ b/payout/model_channel.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Channel type satisfies the MappedNullable interface at compile time diff --git a/payout/model_channel_account_type.go b/payout/model_channel_account_type.go index a68964fd..d20bc765 100644 --- a/payout/model_channel_account_type.go +++ b/payout/model_channel_account_type.go @@ -6,7 +6,6 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout diff --git a/payout/model_channel_amount_limits.go b/payout/model_channel_amount_limits.go index ad7ddfdc..8df9caca 100644 --- a/payout/model_channel_amount_limits.go +++ b/payout/model_channel_amount_limits.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ChannelAmountLimits type satisfies the MappedNullable interface at compile time diff --git a/payout/model_channel_category.go b/payout/model_channel_category.go index 99d2496e..c98e3dcd 100644 --- a/payout/model_channel_category.go +++ b/payout/model_channel_category.go @@ -6,7 +6,6 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout diff --git a/payout/model_create_payout_request.go b/payout/model_create_payout_request.go index 1ccf9f81..7a116bc2 100644 --- a/payout/model_create_payout_request.go +++ b/payout/model_create_payout_request.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreatePayoutRequest type satisfies the MappedNullable interface at compile time diff --git a/payout/model_digital_payout_channel_properties.go b/payout/model_digital_payout_channel_properties.go index 5a48ac74..f4ce8f28 100644 --- a/payout/model_digital_payout_channel_properties.go +++ b/payout/model_digital_payout_channel_properties.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the DigitalPayoutChannelProperties type satisfies the MappedNullable interface at compile time diff --git a/payout/model_error.go b/payout/model_error.go index 1a3e575e..d312fa35 100644 --- a/payout/model_error.go +++ b/payout/model_error.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Error type satisfies the MappedNullable interface at compile time diff --git a/payout/model_error_errors_inner.go b/payout/model_error_errors_inner.go index e81ac982..17886b48 100644 --- a/payout/model_error_errors_inner.go +++ b/payout/model_error_errors_inner.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ErrorErrorsInner type satisfies the MappedNullable interface at compile time diff --git a/payout/model_get_payouts_200_response.go b/payout/model_get_payouts_200_response.go index 5a48337c..ec09fc5f 100644 --- a/payout/model_get_payouts_200_response.go +++ b/payout/model_get_payouts_200_response.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the GetPayouts200Response type satisfies the MappedNullable interface at compile time diff --git a/payout/model_get_payouts_200_response_data_inner.go b/payout/model_get_payouts_200_response_data_inner.go index bcc0feea..53515a9e 100644 --- a/payout/model_get_payouts_200_response_data_inner.go +++ b/payout/model_get_payouts_200_response_data_inner.go @@ -6,13 +6,11 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - "fmt" ) diff --git a/payout/model_get_payouts_200_response_links.go b/payout/model_get_payouts_200_response_links.go index 46af3cb0..cba783c9 100644 --- a/payout/model_get_payouts_200_response_links.go +++ b/payout/model_get_payouts_200_response_links.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the GetPayouts200ResponseLinks type satisfies the MappedNullable interface at compile time diff --git a/payout/model_payout.go b/payout/model_payout.go index 087b392d..767b5f4f 100644 --- a/payout/model_payout.go +++ b/payout/model_payout.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payout/model_payout_all_of.go b/payout/model_payout_all_of.go index 71523e26..2bbf13c1 100644 --- a/payout/model_payout_all_of.go +++ b/payout/model_payout_all_of.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - "time" ) diff --git a/payout/model_receipt_notification.go b/payout/model_receipt_notification.go index 382e52fb..3d9c665d 100644 --- a/payout/model_receipt_notification.go +++ b/payout/model_receipt_notification.go @@ -6,16 +6,13 @@ This API allows Xendit to send money from an account to a channel (banks, eWalle API version: 1.0.0 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the ReceiptNotification type satisfies the MappedNullable interface at compile time diff --git a/payout/nullable.go b/payout/nullable.go index 2513ea84..e824dbba 100644 --- a/payout/nullable.go +++ b/payout/nullable.go @@ -1,4 +1,3 @@ -// Code generated by Xendit OpenAPI Generator; DO NOT EDIT. package payout import ( diff --git a/refund/api_refund.go b/refund/api_refund.go index 84818946..dc694fa8 100644 --- a/refund/api_refund.go +++ b/refund/api_refund.go @@ -1,4 +1,3 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package refund import ( diff --git a/refund/model_create_refund.go b/refund/model_create_refund.go index 10cb819c..27d482fd 100644 --- a/refund/model_create_refund.go +++ b/refund/model_create_refund.go @@ -6,16 +6,13 @@ This API is used for the unified refund service API version: 1.2.3 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreateRefund type satisfies the MappedNullable interface at compile time diff --git a/refund/model_create_refund_400_response.go b/refund/model_create_refund_400_response.go index e316d3c7..c66b5ae6 100644 --- a/refund/model_create_refund_400_response.go +++ b/refund/model_create_refund_400_response.go @@ -6,16 +6,13 @@ This API is used for the unified refund service API version: 1.2.3 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreateRefund400Response type satisfies the MappedNullable interface at compile time diff --git a/refund/model_create_refund_403_response.go b/refund/model_create_refund_403_response.go index 3135ae7c..b222f6b7 100644 --- a/refund/model_create_refund_403_response.go +++ b/refund/model_create_refund_403_response.go @@ -6,16 +6,13 @@ This API is used for the unified refund service API version: 1.2.3 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreateRefund403Response type satisfies the MappedNullable interface at compile time diff --git a/refund/model_create_refund_404_response.go b/refund/model_create_refund_404_response.go index 0337ea64..09ee8930 100644 --- a/refund/model_create_refund_404_response.go +++ b/refund/model_create_refund_404_response.go @@ -6,16 +6,13 @@ This API is used for the unified refund service API version: 1.2.3 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreateRefund404Response type satisfies the MappedNullable interface at compile time diff --git a/refund/model_create_refund_409_response.go b/refund/model_create_refund_409_response.go index 58691ab2..36851c82 100644 --- a/refund/model_create_refund_409_response.go +++ b/refund/model_create_refund_409_response.go @@ -6,16 +6,13 @@ This API is used for the unified refund service API version: 1.2.3 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreateRefund409Response type satisfies the MappedNullable interface at compile time diff --git a/refund/model_create_refund_503_response.go b/refund/model_create_refund_503_response.go index c6701198..93924236 100644 --- a/refund/model_create_refund_503_response.go +++ b/refund/model_create_refund_503_response.go @@ -6,16 +6,13 @@ This API is used for the unified refund service API version: 1.2.3 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreateRefund503Response type satisfies the MappedNullable interface at compile time diff --git a/refund/model_create_refund_default_response.go b/refund/model_create_refund_default_response.go index 408e32bd..f21f669b 100644 --- a/refund/model_create_refund_default_response.go +++ b/refund/model_create_refund_default_response.go @@ -6,16 +6,13 @@ This API is used for the unified refund service API version: 1.2.3 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the CreateRefundDefaultResponse type satisfies the MappedNullable interface at compile time diff --git a/refund/model_refund.go b/refund/model_refund.go index 9591bf17..5d52d8bc 100644 --- a/refund/model_refund.go +++ b/refund/model_refund.go @@ -6,16 +6,13 @@ This API is used for the unified refund service API version: 1.2.3 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the Refund type satisfies the MappedNullable interface at compile time diff --git a/refund/model_refund_list.go b/refund/model_refund_list.go index 64d77a76..9b3c565e 100644 --- a/refund/model_refund_list.go +++ b/refund/model_refund_list.go @@ -6,16 +6,13 @@ This API is used for the unified refund service API version: 1.2.3 */ -// Code generated by OpenAPI Generator; DO NOT EDIT. package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" - ) // checks if the RefundList type satisfies the MappedNullable interface at compile time diff --git a/refund/nullable.go b/refund/nullable.go index 8e0f5aa9..905e0ebb 100644 --- a/refund/nullable.go +++ b/refund/nullable.go @@ -1,4 +1,3 @@ -// Code generated by Xendit OpenAPI Generator; DO NOT EDIT. package refund import ( diff --git a/response.go b/response.go index d3cd8858..3540e6d4 100644 --- a/response.go +++ b/response.go @@ -1,4 +1,3 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package xendit import ( diff --git a/utils/utils.go b/utils/utils.go index 72c7a4bd..e5c4062c 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -1,9 +1,11 @@ -// Code generated by OpenAPI Generator; DO NOT EDIT. package utils import ( - "reflect" - "time" + "bytes" + "encoding/json" + "reflect" + "time" + "unicode/utf8" ) // PtrBool is a helper routine that returns a pointer to given boolean value. @@ -30,6 +32,19 @@ func PtrString(v string) *string { return &v } // PtrTime is helper routine that returns a pointer to given Time value. func PtrTime(v time.Time) *time.Time { return &v } +// NewStrictDecoder is a wrapper for strict JSON decoding +func NewStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Strlen returns the number of runes in a string +func Strlen(s string) int { + return utf8.RuneCountInString(s) +} + + // IsNil checks if an input is nil func IsNil(i interface{}) bool { if i == nil {