diff --git a/README.md b/README.md index dfd0c9cb..bd048a3c 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.7.0 +* Package version: 4.0.0 # Getting Started @@ -14,13 +14,13 @@ in applications written in Go. Install xendit-go with: ```shell -go get github.com/xendit/xendit-go/v3 +go get github.com/xendit/xendit-go/v4 ``` Put the package under your project folder and add the following in import: ```golang -import xendit "github.com/xendit/xendit-go/v3" +import xendit "github.com/xendit/xendit-go/v4" ``` To use a proxy, set the environment variable `HTTP_PROXY`: diff --git a/balance_and_transaction/api_balance.go b/balance_and_transaction/api_balance.go index 650af02b..d603a500 100644 --- a/balance_and_transaction/api_balance.go +++ b/balance_and_transaction/api_balance.go @@ -8,8 +8,8 @@ import ( "net/url" "strconv" - common "github.com/xendit/xendit-go/v3/common" - utils "github.com/xendit/xendit-go/v3/utils" + common "github.com/xendit/xendit-go/v4/common" + utils "github.com/xendit/xendit-go/v4/utils" ) diff --git a/balance_and_transaction/api_transaction.go b/balance_and_transaction/api_transaction.go index 09796136..a24a5642 100644 --- a/balance_and_transaction/api_transaction.go +++ b/balance_and_transaction/api_transaction.go @@ -8,8 +8,8 @@ import ( "net/url" "strconv" - common "github.com/xendit/xendit-go/v3/common" - utils "github.com/xendit/xendit-go/v3/utils" + common "github.com/xendit/xendit-go/v4/common" + utils "github.com/xendit/xendit-go/v4/utils" "strings" "reflect" ) diff --git a/balance_and_transaction/model_balance.go b/balance_and_transaction/model_balance.go index 02e0d91d..bf1a219b 100644 --- a/balance_and_transaction/model_balance.go +++ b/balance_and_transaction/model_balance.go @@ -12,7 +12,7 @@ package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the Balance type satisfies the MappedNullable interface at compile time diff --git a/balance_and_transaction/model_date_range_filter.go b/balance_and_transaction/model_date_range_filter.go index 8bd9632a..a99a43d0 100644 --- a/balance_and_transaction/model_date_range_filter.go +++ b/balance_and_transaction/model_date_range_filter.go @@ -12,7 +12,7 @@ package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/balance_and_transaction/model_fee_response.go b/balance_and_transaction/model_fee_response.go index 34d90b5b..603d19f2 100644 --- a/balance_and_transaction/model_fee_response.go +++ b/balance_and_transaction/model_fee_response.go @@ -12,7 +12,7 @@ package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 567e33f5..e11b8d2c 100644 --- a/balance_and_transaction/model_link_item.go +++ b/balance_and_transaction/model_link_item.go @@ -12,7 +12,7 @@ package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 3670b9bb..3b601086 100644 --- a/balance_and_transaction/model_server_error.go +++ b/balance_and_transaction/model_server_error.go @@ -12,7 +12,7 @@ package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 f9c42885..bb0b535a 100644 --- a/balance_and_transaction/model_transaction_response.go +++ b/balance_and_transaction/model_transaction_response.go @@ -12,7 +12,7 @@ package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/balance_and_transaction/model_transactions_response.go b/balance_and_transaction/model_transactions_response.go index b4132ecc..f5248afa 100644 --- a/balance_and_transaction/model_transactions_response.go +++ b/balance_and_transaction/model_transactions_response.go @@ -12,7 +12,7 @@ package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 1fcb7608..f21f982c 100644 --- a/balance_and_transaction/model_validation_error.go +++ b/balance_and_transaction/model_validation_error.go @@ -12,7 +12,7 @@ package balance_and_transaction import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the ValidationError type satisfies the MappedNullable interface at compile time diff --git a/client.go b/client.go index 42ec43f1..73224f36 100644 --- a/client.go +++ b/client.go @@ -20,16 +20,16 @@ import ( "strings" "time" - common "github.com/xendit/xendit-go/v3/common" + common "github.com/xendit/xendit-go/v4/common" - invoice "github.com/xendit/xendit-go/v3/invoice" - paymentrequest "github.com/xendit/xendit-go/v3/payment_request" - paymentmethod "github.com/xendit/xendit-go/v3/payment_method" - refund "github.com/xendit/xendit-go/v3/refund" - balance "github.com/xendit/xendit-go/v3/balance_and_transaction" - transaction "github.com/xendit/xendit-go/v3/balance_and_transaction" - customer "github.com/xendit/xendit-go/v3/customer" - payout "github.com/xendit/xendit-go/v3/payout" + invoice "github.com/xendit/xendit-go/v4/invoice" + paymentrequest "github.com/xendit/xendit-go/v4/payment_request" + paymentmethod "github.com/xendit/xendit-go/v4/payment_method" + refund "github.com/xendit/xendit-go/v4/refund" + balance "github.com/xendit/xendit-go/v4/balance_and_transaction" + transaction "github.com/xendit/xendit-go/v4/balance_and_transaction" + customer "github.com/xendit/xendit-go/v4/customer" + payout "github.com/xendit/xendit-go/v4/payout" ) @@ -154,7 +154,7 @@ func (c *APIClient) PrepareRequest( headerParams["xendit-lib"] = "go" // TODO: overwrite this line from buddy pipeline - headerParams["xendit-lib-ver"] = "3.7.0" + headerParams["xendit-lib-ver"] = "4.0.0" var body *bytes.Buffer diff --git a/configuration.go b/configuration.go index edd29d26..fcd026b0 100644 --- a/configuration.go +++ b/configuration.go @@ -78,7 +78,7 @@ var Default Configuration = *NewConfiguration() func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/3.7.0/go", + UserAgent: "OpenAPI-Generator/4.0.0/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/customer/api_customer.go b/customer/api_customer.go index 9a4e5e8e..e4d1dbda 100644 --- a/customer/api_customer.go +++ b/customer/api_customer.go @@ -8,8 +8,8 @@ import ( "net/url" "strconv" - common "github.com/xendit/xendit-go/v3/common" - utils "github.com/xendit/xendit-go/v3/utils" + common "github.com/xendit/xendit-go/v4/common" + utils "github.com/xendit/xendit-go/v4/utils" "strings" ) diff --git a/customer/model_account_bank.go b/customer/model_account_bank.go index 87af8643..45ef78c9 100644 --- a/customer/model_account_bank.go +++ b/customer/model_account_bank.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the AccountBank type satisfies the MappedNullable interface at compile time diff --git a/customer/model_account_card.go b/customer/model_account_card.go index 7118b442..5ea8fb6e 100644 --- a/customer/model_account_card.go +++ b/customer/model_account_card.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the AccountCard type satisfies the MappedNullable interface at compile time diff --git a/customer/model_account_ewallet.go b/customer/model_account_ewallet.go index 54d2c64e..b8806e96 100644 --- a/customer/model_account_ewallet.go +++ b/customer/model_account_ewallet.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the AccountEwallet type satisfies the MappedNullable interface at compile time diff --git a/customer/model_account_otc.go b/customer/model_account_otc.go index 6ab09e1e..ed481fb4 100644 --- a/customer/model_account_otc.go +++ b/customer/model_account_otc.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the AccountOTC type satisfies the MappedNullable interface at compile time diff --git a/customer/model_account_pay_later.go b/customer/model_account_pay_later.go index 9eb00931..f555d5f2 100644 --- a/customer/model_account_pay_later.go +++ b/customer/model_account_pay_later.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the AccountPayLater type satisfies the MappedNullable interface at compile time diff --git a/customer/model_account_qr_code.go b/customer/model_account_qr_code.go index 835f26b6..8b0152b0 100644 --- a/customer/model_account_qr_code.go +++ b/customer/model_account_qr_code.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the AccountQRCode type satisfies the MappedNullable interface at compile time diff --git a/customer/model_address.go b/customer/model_address.go index 7d97322c..df8c8c14 100644 --- a/customer/model_address.go +++ b/customer/model_address.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/customer/model_address_request.go b/customer/model_address_request.go index 4e5a523a..065290c9 100644 --- a/customer/model_address_request.go +++ b/customer/model_address_request.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the AddressRequest type satisfies the MappedNullable interface at compile time diff --git a/customer/model_business_detail.go b/customer/model_business_detail.go index 5a745d37..96e5a731 100644 --- a/customer/model_business_detail.go +++ b/customer/model_business_detail.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the BusinessDetail type satisfies the MappedNullable interface at compile time diff --git a/customer/model_create_customer_400_response.go b/customer/model_create_customer_400_response.go index b9b4ef62..09c19a0f 100644 --- a/customer/model_create_customer_400_response.go +++ b/customer/model_create_customer_400_response.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the CreateCustomer400Response type satisfies the MappedNullable interface at compile time diff --git a/customer/model_create_customer_400_response_all_of.go b/customer/model_create_customer_400_response_all_of.go index 093f1d0d..53545e42 100644 --- a/customer/model_create_customer_400_response_all_of.go +++ b/customer/model_create_customer_400_response_all_of.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the CreateCustomer400ResponseAllOf type satisfies the MappedNullable interface at compile time diff --git a/customer/model_customer.go b/customer/model_customer.go index 9aff0164..451239ee 100644 --- a/customer/model_customer.go +++ b/customer/model_customer.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/customer/model_customer_request.go b/customer/model_customer_request.go index 568920b4..00f6df25 100644 --- a/customer/model_customer_request.go +++ b/customer/model_customer_request.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the CustomerRequest type satisfies the MappedNullable interface at compile time diff --git a/customer/model_employment_detail.go b/customer/model_employment_detail.go index 1bb6e24b..6f6ebb15 100644 --- a/customer/model_employment_detail.go +++ b/customer/model_employment_detail.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the EmploymentDetail type satisfies the MappedNullable interface at compile time diff --git a/customer/model_error.go b/customer/model_error.go index 37d42726..6c4b56b1 100644 --- a/customer/model_error.go +++ b/customer/model_error.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the Error type satisfies the MappedNullable interface at compile time diff --git a/customer/model_get_customer_by_reference_id_200_response.go b/customer/model_get_customer_by_reference_id_200_response.go index df955bc0..8d5fc550 100644 --- a/customer/model_get_customer_by_reference_id_200_response.go +++ b/customer/model_get_customer_by_reference_id_200_response.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the GetCustomerByReferenceID200Response type satisfies the MappedNullable interface at compile time diff --git a/customer/model_get_customer_by_reference_id_400_response.go b/customer/model_get_customer_by_reference_id_400_response.go index 9e396ab6..d09a1cc1 100644 --- a/customer/model_get_customer_by_reference_id_400_response.go +++ b/customer/model_get_customer_by_reference_id_400_response.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the GetCustomerByReferenceID400Response type satisfies the MappedNullable interface at compile time diff --git a/customer/model_get_customer_by_reference_id_400_response_all_of.go b/customer/model_get_customer_by_reference_id_400_response_all_of.go index 29182a40..0987a71a 100644 --- a/customer/model_get_customer_by_reference_id_400_response_all_of.go +++ b/customer/model_get_customer_by_reference_id_400_response_all_of.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the GetCustomerByReferenceID400ResponseAllOf type satisfies the MappedNullable interface at compile time diff --git a/customer/model_identity_account_request.go b/customer/model_identity_account_request.go index f6c4ff8c..bc339837 100644 --- a/customer/model_identity_account_request.go +++ b/customer/model_identity_account_request.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the IdentityAccountRequest type satisfies the MappedNullable interface at compile time diff --git a/customer/model_identity_account_response.go b/customer/model_identity_account_response.go index d6699f1e..59fe8b6f 100644 --- a/customer/model_identity_account_response.go +++ b/customer/model_identity_account_response.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/customer/model_individual_detail.go b/customer/model_individual_detail.go index 65047a65..28371e53 100644 --- a/customer/model_individual_detail.go +++ b/customer/model_individual_detail.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the IndividualDetail type satisfies the MappedNullable interface at compile time diff --git a/customer/model_kyc_document_request.go b/customer/model_kyc_document_request.go index 484c0172..fcd0759d 100644 --- a/customer/model_kyc_document_request.go +++ b/customer/model_kyc_document_request.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the KYCDocumentRequest type satisfies the MappedNullable interface at compile time diff --git a/customer/model_kyc_document_response.go b/customer/model_kyc_document_response.go index 931bf423..727aa3ba 100644 --- a/customer/model_kyc_document_response.go +++ b/customer/model_kyc_document_response.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the KYCDocumentResponse type satisfies the MappedNullable interface at compile time diff --git a/customer/model_patch_customer.go b/customer/model_patch_customer.go index c0e6bddb..08e90512 100644 --- a/customer/model_patch_customer.go +++ b/customer/model_patch_customer.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PatchCustomer type satisfies the MappedNullable interface at compile time diff --git a/customer/model_response_data_not_found.go b/customer/model_response_data_not_found.go index 133a3698..59043751 100644 --- a/customer/model_response_data_not_found.go +++ b/customer/model_response_data_not_found.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the ResponseDataNotFound type satisfies the MappedNullable interface at compile time diff --git a/customer/model_update_customer_400_response.go b/customer/model_update_customer_400_response.go index 25302d54..5a32678d 100644 --- a/customer/model_update_customer_400_response.go +++ b/customer/model_update_customer_400_response.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the UpdateCustomer400Response type satisfies the MappedNullable interface at compile time diff --git a/customer/model_update_customer_400_response_all_of.go b/customer/model_update_customer_400_response_all_of.go index 7409bff2..aea0d898 100644 --- a/customer/model_update_customer_400_response_all_of.go +++ b/customer/model_update_customer_400_response_all_of.go @@ -12,7 +12,7 @@ package customer import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the UpdateCustomer400ResponseAllOf type satisfies the MappedNullable interface at compile time diff --git a/docs/BalanceApi.md b/docs/BalanceApi.md index a8ccafd7..347a7826 100644 --- a/docs/BalanceApi.md +++ b/docs/BalanceApi.md @@ -11,7 +11,7 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" + xendit "github.com/xendit/xendit-go/v4" ) func main() { @@ -63,8 +63,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - balance_and_transaction "github.com/xendit/xendit-go/v3/balance_and_transaction" + xendit "github.com/xendit/xendit-go/v4" + balance_and_transaction "github.com/xendit/xendit-go/v4/balance_and_transaction" ) func main() { diff --git a/docs/CustomerApi.md b/docs/CustomerApi.md index d724918f..82fe835a 100644 --- a/docs/CustomerApi.md +++ b/docs/CustomerApi.md @@ -11,7 +11,7 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" + xendit "github.com/xendit/xendit-go/v4" ) func main() { @@ -66,8 +66,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - customer "github.com/xendit/xendit-go/v3/customer" + xendit "github.com/xendit/xendit-go/v4" + customer "github.com/xendit/xendit-go/v4/customer" ) func main() { @@ -141,8 +141,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - customer "github.com/xendit/xendit-go/v3/customer" + xendit "github.com/xendit/xendit-go/v4" + customer "github.com/xendit/xendit-go/v4/customer" ) func main() { @@ -207,8 +207,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - customer "github.com/xendit/xendit-go/v3/customer" + xendit "github.com/xendit/xendit-go/v4" + customer "github.com/xendit/xendit-go/v4/customer" ) func main() { @@ -279,8 +279,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - customer "github.com/xendit/xendit-go/v3/customer" + xendit "github.com/xendit/xendit-go/v4" + customer "github.com/xendit/xendit-go/v4/customer" ) func main() { diff --git a/docs/InvoiceApi.md b/docs/InvoiceApi.md index fcc5341a..2df7f445 100644 --- a/docs/InvoiceApi.md +++ b/docs/InvoiceApi.md @@ -11,7 +11,7 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" + xendit "github.com/xendit/xendit-go/v4" ) func main() { @@ -63,13 +63,13 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - invoice "github.com/xendit/xendit-go/v3/invoice" + xendit "github.com/xendit/xendit-go/v4" + invoice "github.com/xendit/xendit-go/v4/invoice" ) func main() { - createInvoiceRequest := *invoice.NewCreateInvoiceRequest("ExternalId_example", float32(123)) // [REQUIRED] | CreateInvoiceRequest + createInvoiceRequest := *invoice.NewCreateInvoiceRequest("ExternalId_example", float64(123)) // [REQUIRED] | CreateInvoiceRequest // Business ID of the sub-account merchant (XP feature) forUserId := "62efe4c33e45694d63f585f0" // [OPTIONAL] | string @@ -131,8 +131,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - invoice "github.com/xendit/xendit-go/v3/invoice" + xendit "github.com/xendit/xendit-go/v4" + invoice "github.com/xendit/xendit-go/v4/invoice" ) func main() { @@ -209,8 +209,8 @@ import ( "fmt" "os" "time" - xendit "github.com/xendit/xendit-go/v3" - invoice "github.com/xendit/xendit-go/v3/invoice" + xendit "github.com/xendit/xendit-go/v4" + invoice "github.com/xendit/xendit-go/v4/invoice" ) func main() { @@ -316,8 +316,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - invoice "github.com/xendit/xendit-go/v3/invoice" + xendit "github.com/xendit/xendit-go/v4" + invoice "github.com/xendit/xendit-go/v4/invoice" ) func main() { @@ -385,8 +385,8 @@ import ( "encoding/json" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - invoice "github.com/xendit/xendit-go/v3/invoice" + xendit "github.com/xendit/xendit-go/v4" + invoice "github.com/xendit/xendit-go/v4/invoice" ) func main() { diff --git a/docs/PaymentMethodApi.md b/docs/PaymentMethodApi.md index 2d85d0d1..5077a779 100644 --- a/docs/PaymentMethodApi.md +++ b/docs/PaymentMethodApi.md @@ -11,7 +11,7 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" + xendit "github.com/xendit/xendit-go/v4" ) func main() { @@ -69,8 +69,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_method "github.com/xendit/xendit-go/v3/payment_method" + xendit "github.com/xendit/xendit-go/v4" + payment_method "github.com/xendit/xendit-go/v4/payment_method" ) func main() { @@ -138,8 +138,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_method "github.com/xendit/xendit-go/v3/payment_method" + xendit "github.com/xendit/xendit-go/v4" + payment_method "github.com/xendit/xendit-go/v4/payment_method" ) func main() { @@ -219,8 +219,8 @@ import ( "fmt" "os" "time" - xendit "github.com/xendit/xendit-go/v3" - payment_method "github.com/xendit/xendit-go/v3/payment_method" + xendit "github.com/xendit/xendit-go/v4" + payment_method "github.com/xendit/xendit-go/v4/payment_method" ) func main() { @@ -324,8 +324,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_method "github.com/xendit/xendit-go/v3/payment_method" + xendit "github.com/xendit/xendit-go/v4" + payment_method "github.com/xendit/xendit-go/v4/payment_method" ) func main() { @@ -399,8 +399,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_method "github.com/xendit/xendit-go/v3/payment_method" + xendit "github.com/xendit/xendit-go/v4" + payment_method "github.com/xendit/xendit-go/v4/payment_method" ) func main() { @@ -493,8 +493,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_method "github.com/xendit/xendit-go/v3/payment_method" + xendit "github.com/xendit/xendit-go/v4" + payment_method "github.com/xendit/xendit-go/v4/payment_method" ) func main() { @@ -565,8 +565,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_method "github.com/xendit/xendit-go/v3/payment_method" + xendit "github.com/xendit/xendit-go/v4" + payment_method "github.com/xendit/xendit-go/v4/payment_method" ) func main() { @@ -636,8 +636,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_method "github.com/xendit/xendit-go/v3/payment_method" + xendit "github.com/xendit/xendit-go/v4" + payment_method "github.com/xendit/xendit-go/v4/payment_method" ) func main() { @@ -722,8 +722,8 @@ import ( "encoding/json" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_method "github.com/xendit/xendit-go/v3/payment_method" + xendit "github.com/xendit/xendit-go/v4" + payment_method "github.com/xendit/xendit-go/v4/payment_method" ) func main() { diff --git a/docs/PaymentRequestApi.md b/docs/PaymentRequestApi.md index 831dce2b..c06d43ea 100644 --- a/docs/PaymentRequestApi.md +++ b/docs/PaymentRequestApi.md @@ -11,7 +11,7 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" + xendit "github.com/xendit/xendit-go/v4" ) func main() { @@ -69,8 +69,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_request "github.com/xendit/xendit-go/v3/payment_request" + xendit "github.com/xendit/xendit-go/v4" + payment_request "github.com/xendit/xendit-go/v4/payment_request" ) func main() { @@ -141,8 +141,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_request "github.com/xendit/xendit-go/v3/payment_request" + xendit "github.com/xendit/xendit-go/v4" + payment_request "github.com/xendit/xendit-go/v4/payment_request" ) func main() { @@ -210,8 +210,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_request "github.com/xendit/xendit-go/v3/payment_request" + xendit "github.com/xendit/xendit-go/v4" + payment_request "github.com/xendit/xendit-go/v4/payment_request" ) func main() { @@ -282,8 +282,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_request "github.com/xendit/xendit-go/v3/payment_request" + xendit "github.com/xendit/xendit-go/v4" + payment_request "github.com/xendit/xendit-go/v4/payment_request" ) func main() { @@ -367,8 +367,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_request "github.com/xendit/xendit-go/v3/payment_request" + xendit "github.com/xendit/xendit-go/v4" + payment_request "github.com/xendit/xendit-go/v4/payment_request" ) func main() { @@ -439,8 +439,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_request "github.com/xendit/xendit-go/v3/payment_request" + xendit "github.com/xendit/xendit-go/v4" + payment_request "github.com/xendit/xendit-go/v4/payment_request" ) func main() { @@ -510,8 +510,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_request "github.com/xendit/xendit-go/v3/payment_request" + xendit "github.com/xendit/xendit-go/v4" + payment_request "github.com/xendit/xendit-go/v4/payment_request" ) func main() { @@ -616,8 +616,8 @@ import ( "encoding/json" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payment_request "github.com/xendit/xendit-go/v3/payment_request" + xendit "github.com/xendit/xendit-go/v4" + payment_request "github.com/xendit/xendit-go/v4/payment_request" ) func main() { diff --git a/docs/PayoutApi.md b/docs/PayoutApi.md index b4ca5225..3f44bfad 100644 --- a/docs/PayoutApi.md +++ b/docs/PayoutApi.md @@ -11,7 +11,7 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" + xendit "github.com/xendit/xendit-go/v4" ) func main() { @@ -65,8 +65,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payout "github.com/xendit/xendit-go/v3/payout" + xendit "github.com/xendit/xendit-go/v4" + payout "github.com/xendit/xendit-go/v4/payout" ) func main() { @@ -140,8 +140,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payout "github.com/xendit/xendit-go/v3/payout" + xendit "github.com/xendit/xendit-go/v4" + payout "github.com/xendit/xendit-go/v4/payout" ) func main() { @@ -208,8 +208,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payout "github.com/xendit/xendit-go/v3/payout" + xendit "github.com/xendit/xendit-go/v4" + payout "github.com/xendit/xendit-go/v4/payout" ) func main() { @@ -286,8 +286,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payout "github.com/xendit/xendit-go/v3/payout" + xendit "github.com/xendit/xendit-go/v4" + payout "github.com/xendit/xendit-go/v4/payout" ) func main() { @@ -369,8 +369,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - payout "github.com/xendit/xendit-go/v3/payout" + xendit "github.com/xendit/xendit-go/v4" + payout "github.com/xendit/xendit-go/v4/payout" ) func main() { diff --git a/docs/RefundApi.md b/docs/RefundApi.md index 3ccc20df..378465fa 100644 --- a/docs/RefundApi.md +++ b/docs/RefundApi.md @@ -11,7 +11,7 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" + xendit "github.com/xendit/xendit-go/v4" ) func main() { @@ -64,8 +64,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - refund "github.com/xendit/xendit-go/v3/refund" + xendit "github.com/xendit/xendit-go/v4" + refund "github.com/xendit/xendit-go/v4/refund" ) func main() { @@ -135,8 +135,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - refund "github.com/xendit/xendit-go/v3/refund" + xendit "github.com/xendit/xendit-go/v4" + refund "github.com/xendit/xendit-go/v4/refund" ) func main() { @@ -206,8 +206,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - refund "github.com/xendit/xendit-go/v3/refund" + xendit "github.com/xendit/xendit-go/v4" + refund "github.com/xendit/xendit-go/v4/refund" ) func main() { @@ -292,8 +292,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - refund "github.com/xendit/xendit-go/v3/refund" + xendit "github.com/xendit/xendit-go/v4" + refund "github.com/xendit/xendit-go/v4/refund" ) func main() { @@ -366,8 +366,8 @@ import ( "encoding/json" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - refund "github.com/xendit/xendit-go/v3/refund" + xendit "github.com/xendit/xendit-go/v4" + refund "github.com/xendit/xendit-go/v4/refund" ) func main() { diff --git a/docs/TransactionApi.md b/docs/TransactionApi.md index 699e7ab0..434a03ad 100644 --- a/docs/TransactionApi.md +++ b/docs/TransactionApi.md @@ -11,7 +11,7 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" + xendit "github.com/xendit/xendit-go/v4" ) func main() { @@ -67,8 +67,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - balance_and_transaction "github.com/xendit/xendit-go/v3/balance_and_transaction" + xendit "github.com/xendit/xendit-go/v4" + balance_and_transaction "github.com/xendit/xendit-go/v4/balance_and_transaction" ) func main() { @@ -146,8 +146,8 @@ import ( "context" "fmt" "os" - xendit "github.com/xendit/xendit-go/v3" - balance_and_transaction "github.com/xendit/xendit-go/v3/balance_and_transaction" + xendit "github.com/xendit/xendit-go/v4" + balance_and_transaction "github.com/xendit/xendit-go/v4/balance_and_transaction" ) func main() { diff --git a/docs/invoice/Bank.md b/docs/invoice/Bank.md index 78534d1c..fef6d2ed 100644 --- a/docs/invoice/Bank.md +++ b/docs/invoice/Bank.md @@ -9,7 +9,7 @@ An object representing bank details for invoices. | **BankBranch** | Pointer to **string** | | The branch of the bank. | | | **BankAccountNumber** | Pointer to **string** | | The bank account number. | | | **AccountHolderName** | **string** | ☑️ | The name of the account holder. | | -| **TransferAmount** | Pointer to **float32** | | The transfer amount. | | +| **TransferAmount** | Pointer to **float64** | | The transfer amount. | | | **AlternativeDisplays** | Pointer to [**AlternativeDisplayItem[]**](AlternativeDisplayItem.md) | | | | ## Methods @@ -143,20 +143,20 @@ SetAccountHolderName sets AccountHolderName field to given value. ### GetTransferAmount -`func (o *Bank) GetTransferAmount() float32` +`func (o *Bank) GetTransferAmount() float64` GetTransferAmount returns the TransferAmount field if non-nil, zero value otherwise. ### GetTransferAmountOk -`func (o *Bank) GetTransferAmountOk() (*float32, bool)` +`func (o *Bank) GetTransferAmountOk() (*float64, bool)` GetTransferAmountOk returns a tuple with the TransferAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTransferAmount -`func (o *Bank) SetTransferAmount(v float32)` +`func (o *Bank) SetTransferAmount(v float64)` SetTransferAmount sets TransferAmount field to given value. diff --git a/docs/invoice/CreateInvoiceRequest.md b/docs/invoice/CreateInvoiceRequest.md index ecb3379b..e9ab276f 100644 --- a/docs/invoice/CreateInvoiceRequest.md +++ b/docs/invoice/CreateInvoiceRequest.md @@ -5,7 +5,7 @@ An object representing for an invoice creation request. | Name | Type | Required | Description | Examples | |------------|:-------------:|:-------------:|-------------|:-------------:| | **ExternalId** | **string** | ☑️ | The external ID of the invoice. | | -| **Amount** | **float32** | ☑️ | The invoice amount. | | +| **Amount** | **float64** | ☑️ | The invoice amount. | | | **PayerEmail** | Pointer to **string** | | The email address of the payer. | | | **Description** | Pointer to **string** | | A description of the payment. | | | **InvoiceDuration** | Pointer to **string** | | The duration of the invoice. | | @@ -29,7 +29,7 @@ An object representing for an invoice creation request. ### NewCreateInvoiceRequest -`func NewCreateInvoiceRequest(externalId string, amount float32, ) *CreateInvoiceRequest` +`func NewCreateInvoiceRequest(externalId string, amount float64, ) *CreateInvoiceRequest` NewCreateInvoiceRequest instantiates a new CreateInvoiceRequest object This constructor will assign default values to properties that have it defined, @@ -66,20 +66,20 @@ SetExternalId sets ExternalId field to given value. ### GetAmount -`func (o *CreateInvoiceRequest) GetAmount() float32` +`func (o *CreateInvoiceRequest) GetAmount() float64` GetAmount returns the Amount field if non-nil, zero value otherwise. ### GetAmountOk -`func (o *CreateInvoiceRequest) GetAmountOk() (*float32, bool)` +`func (o *CreateInvoiceRequest) GetAmountOk() (*float64, bool)` GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAmount -`func (o *CreateInvoiceRequest) SetAmount(v float32)` +`func (o *CreateInvoiceRequest) SetAmount(v float64)` SetAmount sets Amount field to given value. diff --git a/docs/invoice/Invoice.md b/docs/invoice/Invoice.md index 2da8516e..81f849b6 100644 --- a/docs/invoice/Invoice.md +++ b/docs/invoice/Invoice.md @@ -14,7 +14,7 @@ An object representing details for an invoice. | **MerchantName** | **string** | ☑️ | The name of the merchant. | | | **MerchantProfilePictureUrl** | **string** | ☑️ | The URL of the merchant's profile picture. | | | **Locale** | Pointer to **string** | | The locale or language used for the invoice. | | -| **Amount** | **float32** | ☑️ | The total amount of the invoice. | | +| **Amount** | **float64** | ☑️ | The total amount of the invoice. | | | **ExpiryDate** | **time.Time** | ☑️ | Representing a date and time in ISO 8601 format. | | | **InvoiceUrl** | **string** | ☑️ | The URL to view the invoice. | | | **AvailableBanks** | [**Bank[]**](Bank.md) | ☑️ | An array of available banks for payment. | | @@ -42,7 +42,7 @@ An object representing details for an invoice. ### NewInvoice -`func NewInvoice(externalId string, userId string, status InvoiceStatus, merchantName string, merchantProfilePictureUrl string, amount float32, expiryDate time.Time, invoiceUrl string, availableBanks []Bank, availableRetailOutlets []RetailOutlet, availableEwallets []Ewallet, availableQrCodes []QrCode, availableDirectDebits []DirectDebit, availablePaylaters []Paylater, shouldSendEmail bool, created time.Time, updated time.Time, ) *Invoice` +`func NewInvoice(externalId string, userId string, status InvoiceStatus, merchantName string, merchantProfilePictureUrl string, amount float64, expiryDate time.Time, invoiceUrl string, availableBanks []Bank, availableRetailOutlets []RetailOutlet, availableEwallets []Ewallet, availableQrCodes []QrCode, availableDirectDebits []DirectDebit, availablePaylaters []Paylater, shouldSendEmail bool, created time.Time, updated time.Time, ) *Invoice` NewInvoice instantiates a new Invoice object This constructor will assign default values to properties that have it defined, @@ -284,20 +284,20 @@ HasLocale returns a boolean if a field has been set. ### GetAmount -`func (o *Invoice) GetAmount() float32` +`func (o *Invoice) GetAmount() float64` GetAmount returns the Amount field if non-nil, zero value otherwise. ### GetAmountOk -`func (o *Invoice) GetAmountOk() (*float32, bool)` +`func (o *Invoice) GetAmountOk() (*float64, bool)` GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAmount -`func (o *Invoice) SetAmount(v float32)` +`func (o *Invoice) SetAmount(v float64)` SetAmount sets Amount field to given value. diff --git a/docs/invoice/InvoiceCallback.md b/docs/invoice/InvoiceCallback.md index 5d120b02..165cbb78 100644 --- a/docs/invoice/InvoiceCallback.md +++ b/docs/invoice/InvoiceCallback.md @@ -9,10 +9,10 @@ Invoice Callback Object | **UserId** | **string** | ☑️ | Xendit Business ID | | | **Status** | **string** | ☑️ | The status of the invoice. | | | **MerchantName** | **string** | ☑️ | The name of company or website | | -| **Amount** | **float32** | ☑️ | Nominal amount for the invoice | | +| **Amount** | **float64** | ☑️ | Nominal amount for the invoice | | | **PayerEmail** | Pointer to **string** | | Email of the payer | | | **Description** | Pointer to **string** | | Description for the invoice | | -| **PaidAmount** | Pointer to **float32** | | Total amount paid for the invoice | | +| **PaidAmount** | Pointer to **float64** | | Total amount paid for the invoice | | | **Created** | **string** | ☑️ | The date and time when the invoice was created. | | | **Updated** | **string** | ☑️ | The date and time when the invoice was last updated. | | | **Currency** | **string** | ☑️ | The currency of the invoice. | | @@ -37,7 +37,7 @@ Invoice Callback Object ### NewInvoiceCallback -`func NewInvoiceCallback(id string, externalId string, userId string, status string, merchantName string, amount float32, created string, updated string, currency string, ) *InvoiceCallback` +`func NewInvoiceCallback(id string, externalId string, userId string, status string, merchantName string, amount float64, created string, updated string, currency string, ) *InvoiceCallback` NewInvoiceCallback instantiates a new InvoiceCallback object This constructor will assign default values to properties that have it defined, @@ -154,20 +154,20 @@ SetMerchantName sets MerchantName field to given value. ### GetAmount -`func (o *InvoiceCallback) GetAmount() float32` +`func (o *InvoiceCallback) GetAmount() float64` GetAmount returns the Amount field if non-nil, zero value otherwise. ### GetAmountOk -`func (o *InvoiceCallback) GetAmountOk() (*float32, bool)` +`func (o *InvoiceCallback) GetAmountOk() (*float64, bool)` GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAmount -`func (o *InvoiceCallback) SetAmount(v float32)` +`func (o *InvoiceCallback) SetAmount(v float64)` SetAmount sets Amount field to given value. @@ -224,20 +224,20 @@ HasDescription returns a boolean if a field has been set. ### GetPaidAmount -`func (o *InvoiceCallback) GetPaidAmount() float32` +`func (o *InvoiceCallback) GetPaidAmount() float64` GetPaidAmount returns the PaidAmount field if non-nil, zero value otherwise. ### GetPaidAmountOk -`func (o *InvoiceCallback) GetPaidAmountOk() (*float32, bool)` +`func (o *InvoiceCallback) GetPaidAmountOk() (*float64, bool)` GetPaidAmountOk returns a tuple with the PaidAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPaidAmount -`func (o *InvoiceCallback) SetPaidAmount(v float32)` +`func (o *InvoiceCallback) SetPaidAmount(v float64)` SetPaidAmount sets PaidAmount field to given value. diff --git a/docs/invoice/RetailOutlet.md b/docs/invoice/RetailOutlet.md index 0119ed23..263c96a8 100644 --- a/docs/invoice/RetailOutlet.md +++ b/docs/invoice/RetailOutlet.md @@ -6,7 +6,7 @@ An object representing retail outlet details for invoices. |------------|:-------------:|:-------------:|-------------|:-------------:| | **RetailOutletName** | [**RetailOutletName**](RetailOutletName.md) | ☑️ | | | | **PaymentCode** | Pointer to **string** | | The payment code. | | -| **TransferAmount** | Pointer to **float32** | | The transfer amount. | | +| **TransferAmount** | Pointer to **float64** | | The transfer amount. | | | **MerchantName** | Pointer to **string** | | The name of the merchant. | | ## Methods @@ -75,20 +75,20 @@ HasPaymentCode returns a boolean if a field has been set. ### GetTransferAmount -`func (o *RetailOutlet) GetTransferAmount() float32` +`func (o *RetailOutlet) GetTransferAmount() float64` GetTransferAmount returns the TransferAmount field if non-nil, zero value otherwise. ### GetTransferAmountOk -`func (o *RetailOutlet) GetTransferAmountOk() (*float32, bool)` +`func (o *RetailOutlet) GetTransferAmountOk() (*float64, bool)` GetTransferAmountOk returns a tuple with the TransferAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTransferAmount -`func (o *RetailOutlet) SetTransferAmount(v float32)` +`func (o *RetailOutlet) SetTransferAmount(v float64)` SetTransferAmount sets TransferAmount field to given value. diff --git a/go.mod b/go.mod index a97e67c4..26a2c56f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/xendit/xendit-go/v3 +module github.com/xendit/xendit-go/v4 go 1.18 diff --git a/invoice/api_invoice.go b/invoice/api_invoice.go index e12d3c5b..a1e19780 100644 --- a/invoice/api_invoice.go +++ b/invoice/api_invoice.go @@ -8,8 +8,8 @@ import ( "net/url" "strconv" - common "github.com/xendit/xendit-go/v3/common" - utils "github.com/xendit/xendit-go/v3/utils" + common "github.com/xendit/xendit-go/v4/common" + utils "github.com/xendit/xendit-go/v4/utils" "strings" "reflect" "time" diff --git a/invoice/model_address_object.go b/invoice/model_address_object.go index 12da1400..d8411f4b 100644 --- a/invoice/model_address_object.go +++ b/invoice/model_address_object.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 180675bd..15852fe1 100644 --- a/invoice/model_alternative_display_item.go +++ b/invoice/model_alternative_display_item.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 20b85fec..bc3209a8 100644 --- a/invoice/model_bad_request_error.go +++ b/invoice/model_bad_request_error.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 b5f752f6..512759e1 100644 --- a/invoice/model_bank.go +++ b/invoice/model_bank.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the Bank type satisfies the MappedNullable interface at compile time @@ -30,7 +30,7 @@ type Bank struct { // The name of the account holder. AccountHolderName string `json:"account_holder_name"` // The transfer amount. - TransferAmount *float32 `json:"transfer_amount,omitempty"` + TransferAmount *float64 `json:"transfer_amount,omitempty"` AlternativeDisplays []AlternativeDisplayItem `json:"alternative_displays,omitempty"` } @@ -191,9 +191,9 @@ func (o *Bank) SetAccountHolderName(v string) { } // GetTransferAmount returns the TransferAmount field value if set, zero value otherwise. -func (o *Bank) GetTransferAmount() float32 { +func (o *Bank) GetTransferAmount() float64 { if o == nil || utils.IsNil(o.TransferAmount) { - var ret float32 + var ret float64 return ret } return *o.TransferAmount @@ -201,7 +201,7 @@ func (o *Bank) GetTransferAmount() float32 { // GetTransferAmountOk returns a tuple with the TransferAmount field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Bank) GetTransferAmountOk() (*float32, bool) { +func (o *Bank) GetTransferAmountOk() (*float64, bool) { if o == nil || utils.IsNil(o.TransferAmount) { return nil, false } @@ -217,8 +217,8 @@ func (o *Bank) HasTransferAmount() bool { return false } -// SetTransferAmount gets a reference to the given float32 and assigns it to the TransferAmount field. -func (o *Bank) SetTransferAmount(v float32) { +// SetTransferAmount gets a reference to the given float64 and assigns it to the TransferAmount field. +func (o *Bank) SetTransferAmount(v float64) { o.TransferAmount = &v } diff --git a/invoice/model_create_invoice_request.go b/invoice/model_create_invoice_request.go index a65e7302..db00edeb 100644 --- a/invoice/model_create_invoice_request.go +++ b/invoice/model_create_invoice_request.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the CreateInvoiceRequest type satisfies the MappedNullable interface at compile time @@ -23,7 +23,7 @@ type CreateInvoiceRequest struct { // The external ID of the invoice. ExternalId string `json:"external_id"` // The invoice amount. - Amount float32 `json:"amount"` + Amount float64 `json:"amount"` // The email address of the payer. PayerEmail *string `json:"payer_email,omitempty"` // A description of the payment. @@ -64,7 +64,7 @@ type CreateInvoiceRequest struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCreateInvoiceRequest(externalId string, amount float32) *CreateInvoiceRequest { +func NewCreateInvoiceRequest(externalId string, amount float64) *CreateInvoiceRequest { this := CreateInvoiceRequest{} this.ExternalId = externalId this.Amount = amount @@ -104,9 +104,9 @@ func (o *CreateInvoiceRequest) SetExternalId(v string) { } // GetAmount returns the Amount field value -func (o *CreateInvoiceRequest) GetAmount() float32 { +func (o *CreateInvoiceRequest) GetAmount() float64 { if o == nil { - var ret float32 + var ret float64 return ret } @@ -115,7 +115,7 @@ func (o *CreateInvoiceRequest) GetAmount() float32 { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. -func (o *CreateInvoiceRequest) GetAmountOk() (*float32, bool) { +func (o *CreateInvoiceRequest) GetAmountOk() (*float64, bool) { if o == nil { return nil, false } @@ -123,7 +123,7 @@ func (o *CreateInvoiceRequest) GetAmountOk() (*float32, bool) { } // SetAmount sets field value -func (o *CreateInvoiceRequest) SetAmount(v float32) { +func (o *CreateInvoiceRequest) SetAmount(v float64) { o.Amount = v } diff --git a/invoice/model_customer_object.go b/invoice/model_customer_object.go index 3dfb90eb..3c557c23 100644 --- a/invoice/model_customer_object.go +++ b/invoice/model_customer_object.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 ad854a8b..e779e93a 100644 --- a/invoice/model_direct_debit.go +++ b/invoice/model_direct_debit.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the DirectDebit type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_ewallet.go b/invoice/model_ewallet.go index 0af07243..c4919313 100644 --- a/invoice/model_ewallet.go +++ b/invoice/model_ewallet.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the Ewallet type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_forbidden_error.go b/invoice/model_forbidden_error.go index f27aba8d..5e143bc1 100644 --- a/invoice/model_forbidden_error.go +++ b/invoice/model_forbidden_error.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 6a722595..e8e166e9 100644 --- a/invoice/model_invoice.go +++ b/invoice/model_invoice.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) @@ -40,7 +40,7 @@ type Invoice struct { // The locale or language used for the invoice. Locale *string `json:"locale,omitempty"` // The total amount of the invoice. - Amount float32 `json:"amount"` + Amount float64 `json:"amount"` // Representing a date and time in ISO 8601 format. ExpiryDate time.Time `json:"expiry_date"` // The URL to view the invoice. @@ -88,7 +88,7 @@ type Invoice struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInvoice(externalId string, userId string, status InvoiceStatus, merchantName string, merchantProfilePictureUrl string, amount float32, expiryDate time.Time, invoiceUrl string, availableBanks []Bank, availableRetailOutlets []RetailOutlet, availableEwallets []Ewallet, availableQrCodes []QrCode, availableDirectDebits []DirectDebit, availablePaylaters []Paylater, shouldSendEmail bool, created time.Time, updated time.Time) *Invoice { +func NewInvoice(externalId string, userId string, status InvoiceStatus, merchantName string, merchantProfilePictureUrl string, amount float64, expiryDate time.Time, invoiceUrl string, availableBanks []Bank, availableRetailOutlets []RetailOutlet, availableEwallets []Ewallet, availableQrCodes []QrCode, availableDirectDebits []DirectDebit, availablePaylaters []Paylater, shouldSendEmail bool, created time.Time, updated time.Time) *Invoice { this := Invoice{} this.ExternalId = externalId this.UserId = userId @@ -399,9 +399,9 @@ func (o *Invoice) SetLocale(v string) { } // GetAmount returns the Amount field value -func (o *Invoice) GetAmount() float32 { +func (o *Invoice) GetAmount() float64 { if o == nil { - var ret float32 + var ret float64 return ret } @@ -410,7 +410,7 @@ func (o *Invoice) GetAmount() float32 { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. -func (o *Invoice) GetAmountOk() (*float32, bool) { +func (o *Invoice) GetAmountOk() (*float64, bool) { if o == nil { return nil, false } @@ -418,7 +418,7 @@ func (o *Invoice) GetAmountOk() (*float32, bool) { } // SetAmount sets field value -func (o *Invoice) SetAmount(v float32) { +func (o *Invoice) SetAmount(v float64) { o.Amount = v } diff --git a/invoice/model_invoice_callback.go b/invoice/model_invoice_callback.go index 3a833b67..50cbd42b 100644 --- a/invoice/model_invoice_callback.go +++ b/invoice/model_invoice_callback.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the InvoiceCallback type satisfies the MappedNullable interface at compile time @@ -31,13 +31,13 @@ type InvoiceCallback struct { // The name of company or website MerchantName string `json:"merchant_name"` // Nominal amount for the invoice - Amount float32 `json:"amount"` + Amount float64 `json:"amount"` // Email of the payer PayerEmail *string `json:"payer_email,omitempty"` // Description for the invoice Description *string `json:"description,omitempty"` // Total amount paid for the invoice - PaidAmount *float32 `json:"paid_amount,omitempty"` + PaidAmount *float64 `json:"paid_amount,omitempty"` // The date and time when the invoice was created. Created string `json:"created"` // The date and time when the invoice was last updated. @@ -80,7 +80,7 @@ type InvoiceCallback struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInvoiceCallback(id string, externalId string, userId string, status string, merchantName string, amount float32, created string, updated string, currency string) *InvoiceCallback { +func NewInvoiceCallback(id string, externalId string, userId string, status string, merchantName string, amount float64, created string, updated string, currency string) *InvoiceCallback { this := InvoiceCallback{} this.Id = id this.ExternalId = externalId @@ -223,9 +223,9 @@ func (o *InvoiceCallback) SetMerchantName(v string) { } // GetAmount returns the Amount field value -func (o *InvoiceCallback) GetAmount() float32 { +func (o *InvoiceCallback) GetAmount() float64 { if o == nil { - var ret float32 + var ret float64 return ret } @@ -234,7 +234,7 @@ func (o *InvoiceCallback) GetAmount() float32 { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. -func (o *InvoiceCallback) GetAmountOk() (*float32, bool) { +func (o *InvoiceCallback) GetAmountOk() (*float64, bool) { if o == nil { return nil, false } @@ -242,7 +242,7 @@ func (o *InvoiceCallback) GetAmountOk() (*float32, bool) { } // SetAmount sets field value -func (o *InvoiceCallback) SetAmount(v float32) { +func (o *InvoiceCallback) SetAmount(v float64) { o.Amount = v } @@ -311,9 +311,9 @@ func (o *InvoiceCallback) SetDescription(v string) { } // GetPaidAmount returns the PaidAmount field value if set, zero value otherwise. -func (o *InvoiceCallback) GetPaidAmount() float32 { +func (o *InvoiceCallback) GetPaidAmount() float64 { if o == nil || utils.IsNil(o.PaidAmount) { - var ret float32 + var ret float64 return ret } return *o.PaidAmount @@ -321,7 +321,7 @@ func (o *InvoiceCallback) GetPaidAmount() float32 { // GetPaidAmountOk returns a tuple with the PaidAmount field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InvoiceCallback) GetPaidAmountOk() (*float32, bool) { +func (o *InvoiceCallback) GetPaidAmountOk() (*float64, bool) { if o == nil || utils.IsNil(o.PaidAmount) { return nil, false } @@ -337,8 +337,8 @@ func (o *InvoiceCallback) HasPaidAmount() bool { return false } -// SetPaidAmount gets a reference to the given float32 and assigns it to the PaidAmount field. -func (o *InvoiceCallback) SetPaidAmount(v float32) { +// SetPaidAmount gets a reference to the given float64 and assigns it to the PaidAmount field. +func (o *InvoiceCallback) SetPaidAmount(v float64) { o.PaidAmount = &v } diff --git a/invoice/model_invoice_callback_item.go b/invoice/model_invoice_callback_item.go index fe1759ed..cb570bf0 100644 --- a/invoice/model_invoice_callback_item.go +++ b/invoice/model_invoice_callback_item.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the InvoiceCallbackItem type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_invoice_error404_response_definition.go b/invoice/model_invoice_error404_response_definition.go index b194091c..f7a785fc 100644 --- a/invoice/model_invoice_error404_response_definition.go +++ b/invoice/model_invoice_error404_response_definition.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 6e4502f4..7805a3ac 100644 --- a/invoice/model_invoice_fee.go +++ b/invoice/model_invoice_fee.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 6bae719e..ef5fd25a 100644 --- a/invoice/model_invoice_item.go +++ b/invoice/model_invoice_item.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 6fc8f443..3d386a93 100644 --- a/invoice/model_invoice_not_found_error.go +++ b/invoice/model_invoice_not_found_error.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the InvoiceNotFoundError type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_notification_preference.go b/invoice/model_notification_preference.go index 9dd30517..ab331ae5 100644 --- a/invoice/model_notification_preference.go +++ b/invoice/model_notification_preference.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 a632e066..31eb390b 100644 --- a/invoice/model_paylater.go +++ b/invoice/model_paylater.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the Paylater type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_payment_details.go b/invoice/model_payment_details.go index 0cfb1a5f..ef0472d3 100644 --- a/invoice/model_payment_details.go +++ b/invoice/model_payment_details.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PaymentDetails type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_qr_code.go b/invoice/model_qr_code.go index 3d51cdc5..bc3fa134 100644 --- a/invoice/model_qr_code.go +++ b/invoice/model_qr_code.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the QrCode type satisfies the MappedNullable interface at compile time diff --git a/invoice/model_retail_outlet.go b/invoice/model_retail_outlet.go index 94c65814..37c777dc 100644 --- a/invoice/model_retail_outlet.go +++ b/invoice/model_retail_outlet.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the RetailOutlet type satisfies the MappedNullable interface at compile time @@ -24,7 +24,7 @@ type RetailOutlet struct { // The payment code. PaymentCode *string `json:"payment_code,omitempty"` // The transfer amount. - TransferAmount *float32 `json:"transfer_amount,omitempty"` + TransferAmount *float64 `json:"transfer_amount,omitempty"` // The name of the merchant. MerchantName *string `json:"merchant_name,omitempty"` } @@ -104,9 +104,9 @@ func (o *RetailOutlet) SetPaymentCode(v string) { } // GetTransferAmount returns the TransferAmount field value if set, zero value otherwise. -func (o *RetailOutlet) GetTransferAmount() float32 { +func (o *RetailOutlet) GetTransferAmount() float64 { if o == nil || utils.IsNil(o.TransferAmount) { - var ret float32 + var ret float64 return ret } return *o.TransferAmount @@ -114,7 +114,7 @@ func (o *RetailOutlet) GetTransferAmount() float32 { // GetTransferAmountOk returns a tuple with the TransferAmount field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RetailOutlet) GetTransferAmountOk() (*float32, bool) { +func (o *RetailOutlet) GetTransferAmountOk() (*float64, bool) { if o == nil || utils.IsNil(o.TransferAmount) { return nil, false } @@ -130,8 +130,8 @@ func (o *RetailOutlet) HasTransferAmount() bool { return false } -// SetTransferAmount gets a reference to the given float32 and assigns it to the TransferAmount field. -func (o *RetailOutlet) SetTransferAmount(v float32) { +// SetTransferAmount gets a reference to the given float64 and assigns it to the TransferAmount field. +func (o *RetailOutlet) SetTransferAmount(v float64) { o.TransferAmount = &v } diff --git a/invoice/model_server_error.go b/invoice/model_server_error.go index d133ab4b..d93b0ad2 100644 --- a/invoice/model_server_error.go +++ b/invoice/model_server_error.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 e5a10665..9fcca82c 100644 --- a/invoice/model_unauthorized_error.go +++ b/invoice/model_unauthorized_error.go @@ -12,7 +12,7 @@ package invoice import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the UnauthorizedError type satisfies the MappedNullable interface at compile time diff --git a/payment_method/api_payment_method.go b/payment_method/api_payment_method.go index 5ec45c6d..aed65822 100644 --- a/payment_method/api_payment_method.go +++ b/payment_method/api_payment_method.go @@ -8,8 +8,8 @@ import ( "net/url" "strconv" - common "github.com/xendit/xendit-go/v3/common" - utils "github.com/xendit/xendit-go/v3/utils" + common "github.com/xendit/xendit-go/v4/common" + utils "github.com/xendit/xendit-go/v4/utils" "strings" "reflect" "time" diff --git a/payment_method/model_billing_information.go b/payment_method/model_billing_information.go index a7619051..e34bbbf9 100644 --- a/payment_method/model_billing_information.go +++ b/payment_method/model_billing_information.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 ebe63513..719a35e6 100644 --- a/payment_method/model_card.go +++ b/payment_method/model_card.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 d499a212..5d3d80bb 100644 --- a/payment_method/model_card_channel_properties.go +++ b/payment_method/model_card_channel_properties.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 c588bd43..b1733b65 100644 --- a/payment_method/model_card_parameters.go +++ b/payment_method/model_card_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 252cea9f..c861d139 100644 --- a/payment_method/model_card_parameters_card_information.go +++ b/payment_method/model_card_parameters_card_information.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 636ca846..7e892b96 100644 --- a/payment_method/model_card_verification_results.go +++ b/payment_method/model_card_verification_results.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 aa2f5aa2..9717536d 100644 --- a/payment_method/model_card_verification_results_three_d_secure.go +++ b/payment_method/model_card_verification_results_three_d_secure.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the CardVerificationResultsThreeDSecure 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 184d0a89..36e6e65d 100644 --- a/payment_method/model_create_payment_method_409_response.go +++ b/payment_method/model_create_payment_method_409_response.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 37fc9f31..a2771e15 100644 --- a/payment_method/model_create_payment_method_503_response.go +++ b/payment_method/model_create_payment_method_503_response.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 72cc9e0c..7fad1aa8 100644 --- a/payment_method/model_direct_debit.go +++ b/payment_method/model_direct_debit.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 38486e12..14621e10 100644 --- a/payment_method/model_direct_debit_all_of.go +++ b/payment_method/model_direct_debit_all_of.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 e1fc76e3..fccf9000 100644 --- a/payment_method/model_direct_debit_bank_account.go +++ b/payment_method/model_direct_debit_bank_account.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the DirectDebitBankAccount type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_direct_debit_channel_properties.go b/payment_method/model_direct_debit_channel_properties.go index 23498118..461f52c0 100644 --- a/payment_method/model_direct_debit_channel_properties.go +++ b/payment_method/model_direct_debit_channel_properties.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 8f807a8d..5bbe9714 100644 --- a/payment_method/model_direct_debit_debit_card.go +++ b/payment_method/model_direct_debit_debit_card.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 438ba0d6..d7351f95 100644 --- a/payment_method/model_direct_debit_parameters.go +++ b/payment_method/model_direct_debit_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the DirectDebitParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_e_wallet.go b/payment_method/model_e_wallet.go index 732e4385..df8e7c3b 100644 --- a/payment_method/model_e_wallet.go +++ b/payment_method/model_e_wallet.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 d4bc446b..b952e421 100644 --- a/payment_method/model_e_wallet_account.go +++ b/payment_method/model_e_wallet_account.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the EWalletAccount type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_e_wallet_channel_properties.go b/payment_method/model_e_wallet_channel_properties.go index f6d4ec26..52825570 100644 --- a/payment_method/model_e_wallet_channel_properties.go +++ b/payment_method/model_e_wallet_channel_properties.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 6ed9e0f7..5113ef32 100644 --- a/payment_method/model_e_wallet_parameters.go +++ b/payment_method/model_e_wallet_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 1140e535..d48285bc 100644 --- a/payment_method/model_get_all_payment_methods_400_response.go +++ b/payment_method/model_get_all_payment_methods_400_response.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 d30fdca8..13317239 100644 --- a/payment_method/model_get_all_payment_methods_403_response.go +++ b/payment_method/model_get_all_payment_methods_403_response.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 4310d4bf..ff8a73fe 100644 --- a/payment_method/model_get_all_payment_methods_404_response.go +++ b/payment_method/model_get_all_payment_methods_404_response.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 c6f4104d..7836c02a 100644 --- a/payment_method/model_get_all_payment_methods_default_response.go +++ b/payment_method/model_get_all_payment_methods_default_response.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 06f11a01..6332f791 100644 --- a/payment_method/model_over_the_counter.go +++ b/payment_method/model_over_the_counter.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the OverTheCounter type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_over_the_counter_channel_properties.go b/payment_method/model_over_the_counter_channel_properties.go index 0c6fa7b9..d7f15e80 100644 --- a/payment_method/model_over_the_counter_channel_properties.go +++ b/payment_method/model_over_the_counter_channel_properties.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 059333b8..3632f84e 100644 --- a/payment_method/model_over_the_counter_channel_properties_update.go +++ b/payment_method/model_over_the_counter_channel_properties_update.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/payment_method/model_over_the_counter_parameters.go b/payment_method/model_over_the_counter_parameters.go index 1c865263..52bbdb37 100644 --- a/payment_method/model_over_the_counter_parameters.go +++ b/payment_method/model_over_the_counter_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 73eefd7b..832f62c3 100644 --- a/payment_method/model_over_the_counter_update_parameters.go +++ b/payment_method/model_over_the_counter_update_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the OverTheCounterUpdateParameters 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 d941e1fe..0461f898 100644 --- a/payment_method/model_payment_method.go +++ b/payment_method/model_payment_method.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/payment_method/model_payment_method_action.go b/payment_method/model_payment_method_action.go index e393770f..d5920325 100644 --- a/payment_method/model_payment_method_action.go +++ b/payment_method/model_payment_method_action.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 eaace710..cb753694 100644 --- a/payment_method/model_payment_method_auth_parameters.go +++ b/payment_method/model_payment_method_auth_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PaymentMethodAuthParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_method_callback.go b/payment_method/model_payment_method_callback.go index d86529da..21e1824a 100644 --- a/payment_method/model_payment_method_callback.go +++ b/payment_method/model_payment_method_callback.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PaymentMethodCallback type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_method_expire_parameters.go b/payment_method/model_payment_method_expire_parameters.go index 415951d3..9350f329 100644 --- a/payment_method/model_payment_method_expire_parameters.go +++ b/payment_method/model_payment_method_expire_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 8e17b349..487db04f 100644 --- a/payment_method/model_payment_method_list.go +++ b/payment_method/model_payment_method_list.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 b93e0e80..a83ee01d 100644 --- a/payment_method/model_payment_method_parameters.go +++ b/payment_method/model_payment_method_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PaymentMethodParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_payment_method_update_parameters.go b/payment_method/model_payment_method_update_parameters.go index 9ce28c2f..8e8e0d67 100644 --- a/payment_method/model_payment_method_update_parameters.go +++ b/payment_method/model_payment_method_update_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 9c3bbd8e..95106d28 100644 --- a/payment_method/model_qr_code.go +++ b/payment_method/model_qr_code.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the QRCode type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_qr_code_channel_properties.go b/payment_method/model_qr_code_channel_properties.go index 7a190c18..e4dd9473 100644 --- a/payment_method/model_qr_code_channel_properties.go +++ b/payment_method/model_qr_code_channel_properties.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/payment_method/model_qr_code_parameters.go b/payment_method/model_qr_code_parameters.go index b660ba04..7ac70d6d 100644 --- a/payment_method/model_qr_code_parameters.go +++ b/payment_method/model_qr_code_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 2a663318..5389b0de 100644 --- a/payment_method/model_simulate_payment_request.go +++ b/payment_method/model_simulate_payment_request.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 13ddf5aa..b97b7f5f 100644 --- a/payment_method/model_tokenized_card_information.go +++ b/payment_method/model_tokenized_card_information.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 2cbdc293..a03ac0b7 100644 --- a/payment_method/model_virtual_account.go +++ b/payment_method/model_virtual_account.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 7d66542c..9556d878 100644 --- a/payment_method/model_virtual_account_all_of.go +++ b/payment_method/model_virtual_account_all_of.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 9bd0a6fa..4b605889 100644 --- a/payment_method/model_virtual_account_alternative_display.go +++ b/payment_method/model_virtual_account_alternative_display.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the VirtualAccountAlternativeDisplay type satisfies the MappedNullable interface at compile time diff --git a/payment_method/model_virtual_account_channel_properties.go b/payment_method/model_virtual_account_channel_properties.go index 88a985fa..3f53a25f 100644 --- a/payment_method/model_virtual_account_channel_properties.go +++ b/payment_method/model_virtual_account_channel_properties.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 16d06edc..08839bcc 100644 --- a/payment_method/model_virtual_account_channel_properties_patch.go +++ b/payment_method/model_virtual_account_channel_properties_patch.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/payment_method/model_virtual_account_parameters.go b/payment_method/model_virtual_account_parameters.go index 898f25b3..72a0f262 100644 --- a/payment_method/model_virtual_account_parameters.go +++ b/payment_method/model_virtual_account_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 af1bc64b..86e3e11a 100644 --- a/payment_method/model_virtual_account_update_parameters.go +++ b/payment_method/model_virtual_account_update_parameters.go @@ -12,7 +12,7 @@ package payment_method import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the VirtualAccountUpdateParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/api_payment_request.go b/payment_request/api_payment_request.go index 01ad0df1..0c5d7952 100644 --- a/payment_request/api_payment_request.go +++ b/payment_request/api_payment_request.go @@ -8,8 +8,8 @@ import ( "net/url" "strconv" - common "github.com/xendit/xendit-go/v3/common" - utils "github.com/xendit/xendit-go/v3/utils" + common "github.com/xendit/xendit-go/v4/common" + utils "github.com/xendit/xendit-go/v4/utils" "strings" "reflect" ) diff --git a/payment_request/model_capture.go b/payment_request/model_capture.go index 683b7afb..01ea8922 100644 --- a/payment_request/model_capture.go +++ b/payment_request/model_capture.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 2864e4a8..da3ab37a 100644 --- a/payment_request/model_capture_list_response.go +++ b/payment_request/model_capture_list_response.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 5ca8783a..8ebb3804 100644 --- a/payment_request/model_capture_parameters.go +++ b/payment_request/model_capture_parameters.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 63d0e67c..3c22f657 100644 --- a/payment_request/model_card.go +++ b/payment_request/model_card.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 011e08cb..a0d15973 100644 --- a/payment_request/model_card_channel_properties.go +++ b/payment_request/model_card_channel_properties.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 cf744315..bb4f84bb 100644 --- a/payment_request/model_card_information.go +++ b/payment_request/model_card_information.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 186182ed..78c5f61d 100644 --- a/payment_request/model_card_verification_results.go +++ b/payment_request/model_card_verification_results.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 6661c1f7..39560432 100644 --- a/payment_request/model_card_verification_results_three_d_secure.go +++ b/payment_request/model_card_verification_results_three_d_secure.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 0fea3211..21e31a58 100644 --- a/payment_request/model_direct_debit.go +++ b/payment_request/model_direct_debit.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 99a0a618..f145d9b5 100644 --- a/payment_request/model_direct_debit_all_of.go +++ b/payment_request/model_direct_debit_all_of.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 6a075a8a..62db4a88 100644 --- a/payment_request/model_direct_debit_bank_account.go +++ b/payment_request/model_direct_debit_bank_account.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the DirectDebitBankAccount type satisfies the MappedNullable interface at compile time 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 25d43704..79f81f30 100644 --- a/payment_request/model_direct_debit_channel_properties_bank_account.go +++ b/payment_request/model_direct_debit_channel_properties_bank_account.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 12177cf7..b797eae0 100644 --- a/payment_request/model_direct_debit_channel_properties_bank_redirect.go +++ b/payment_request/model_direct_debit_channel_properties_bank_redirect.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 15581f29..9950db24 100644 --- a/payment_request/model_direct_debit_channel_properties_debit_card.go +++ b/payment_request/model_direct_debit_channel_properties_debit_card.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 360a1c10..2e194ed6 100644 --- a/payment_request/model_direct_debit_debit_card.go +++ b/payment_request/model_direct_debit_debit_card.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 513159f4..5a35b37d 100644 --- a/payment_request/model_direct_debit_parameters.go +++ b/payment_request/model_direct_debit_parameters.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the DirectDebitParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_e_wallet.go b/payment_request/model_e_wallet.go index b14548ed..0ceb733e 100644 --- a/payment_request/model_e_wallet.go +++ b/payment_request/model_e_wallet.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 e833ed93..2e0702f1 100644 --- a/payment_request/model_e_wallet_account.go +++ b/payment_request/model_e_wallet_account.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 41aaa793..ef8e974c 100644 --- a/payment_request/model_e_wallet_all_of.go +++ b/payment_request/model_e_wallet_all_of.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the EWalletAllOf type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_e_wallet_channel_properties.go b/payment_request/model_e_wallet_channel_properties.go index 86e94f16..9ed8c938 100644 --- a/payment_request/model_e_wallet_channel_properties.go +++ b/payment_request/model_e_wallet_channel_properties.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 e95118d4..83fe3358 100644 --- a/payment_request/model_e_wallet_parameters.go +++ b/payment_request/model_e_wallet_parameters.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 c5fb500d..c9fbc9f3 100644 --- a/payment_request/model_error.go +++ b/payment_request/model_error.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the Error type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_invoice_partner_metadata.go b/payment_request/model_invoice_partner_metadata.go index 05a255f9..f7b7529f 100644 --- a/payment_request/model_invoice_partner_metadata.go +++ b/payment_request/model_invoice_partner_metadata.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the InvoicePartnerMetadata 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 350b1d12..de344637 100644 --- a/payment_request/model_over_the_counter.go +++ b/payment_request/model_over_the_counter.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the OverTheCounter type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_over_the_counter_channel_properties.go b/payment_request/model_over_the_counter_channel_properties.go index 89813511..75502790 100644 --- a/payment_request/model_over_the_counter_channel_properties.go +++ b/payment_request/model_over_the_counter_channel_properties.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/payment_request/model_over_the_counter_parameters.go b/payment_request/model_over_the_counter_parameters.go index 2ba43a68..e8958a2b 100644 --- a/payment_request/model_over_the_counter_parameters.go +++ b/payment_request/model_over_the_counter_parameters.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the OverTheCounterParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_callback.go b/payment_request/model_payment_callback.go index 7489d1aa..6eededd6 100644 --- a/payment_request/model_payment_callback.go +++ b/payment_request/model_payment_callback.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PaymentCallback type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_callback_data.go b/payment_request/model_payment_callback_data.go index c9ee74a2..7104d9f0 100644 --- a/payment_request/model_payment_callback_data.go +++ b/payment_request/model_payment_callback_data.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PaymentCallbackData 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 f0a387fc..6fbe9953 100644 --- a/payment_request/model_payment_method.go +++ b/payment_request/model_payment_method.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 0fa6b33e..e65df027 100644 --- a/payment_request/model_payment_method_parameters.go +++ b/payment_request/model_payment_method_parameters.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PaymentMethodParameters type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request.go b/payment_request/model_payment_request.go index b50d7bf1..c15ea118 100644 --- a/payment_request/model_payment_request.go +++ b/payment_request/model_payment_request.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 d5c838b7..abc34e06 100644 --- a/payment_request/model_payment_request_action.go +++ b/payment_request/model_payment_request_action.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 12e75f75..ac4d70a8 100644 --- a/payment_request/model_payment_request_auth_parameters.go +++ b/payment_request/model_payment_request_auth_parameters.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 44ab8813..4efaa871 100644 --- a/payment_request/model_payment_request_basket_item.go +++ b/payment_request/model_payment_request_basket_item.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PaymentRequestBasketItem type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_card_verification_results.go b/payment_request/model_payment_request_card_verification_results.go index 6e36f919..7225ed0b 100644 --- a/payment_request/model_payment_request_card_verification_results.go +++ b/payment_request/model_payment_request_card_verification_results.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 3aa1ff9b..a7ae923c 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 @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 ce71c6ea..c7ce44de 100644 --- a/payment_request/model_payment_request_channel_properties.go +++ b/payment_request/model_payment_request_channel_properties.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PaymentRequestChannelProperties type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_payment_request_list_response.go b/payment_request/model_payment_request_list_response.go index 91694a02..9324b9ef 100644 --- a/payment_request/model_payment_request_list_response.go +++ b/payment_request/model_payment_request_list_response.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 e7ee154d..f0b1cafd 100644 --- a/payment_request/model_payment_request_parameters.go +++ b/payment_request/model_payment_request_parameters.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 ebdfc092..82c19be4 100644 --- a/payment_request/model_payment_request_parameters_channel_properties.go +++ b/payment_request/model_payment_request_parameters_channel_properties.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 96921237..9ee8a754 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 @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 07671565..ea115ec7 100644 --- a/payment_request/model_payment_request_shipping_information.go +++ b/payment_request/model_payment_request_shipping_information.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the PaymentRequestShippingInformation type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_qr_code.go b/payment_request/model_qr_code.go index 33c4a4fa..399cd512 100644 --- a/payment_request/model_qr_code.go +++ b/payment_request/model_qr_code.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the QRCode type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_qr_code_channel_properties.go b/payment_request/model_qr_code_channel_properties.go index c4303bb5..6effd167 100644 --- a/payment_request/model_qr_code_channel_properties.go +++ b/payment_request/model_qr_code_channel_properties.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/payment_request/model_qr_code_parameters.go b/payment_request/model_qr_code_parameters.go index 2dc8c7df..ebd6610c 100644 --- a/payment_request/model_qr_code_parameters.go +++ b/payment_request/model_qr_code_parameters.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 b5e366b2..abd2501e 100644 --- a/payment_request/model_virtual_account.go +++ b/payment_request/model_virtual_account.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 a0ae1d7f..b4c51127 100644 --- a/payment_request/model_virtual_account_all_of.go +++ b/payment_request/model_virtual_account_all_of.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 3dfb15c6..26b21b14 100644 --- a/payment_request/model_virtual_account_alternative_display.go +++ b/payment_request/model_virtual_account_alternative_display.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the VirtualAccountAlternativeDisplay type satisfies the MappedNullable interface at compile time diff --git a/payment_request/model_virtual_account_channel_properties.go b/payment_request/model_virtual_account_channel_properties.go index bb472319..5d839cdc 100644 --- a/payment_request/model_virtual_account_channel_properties.go +++ b/payment_request/model_virtual_account_channel_properties.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/payment_request/model_virtual_account_parameters.go b/payment_request/model_virtual_account_parameters.go index 10ddbc26..c6c72393 100644 --- a/payment_request/model_virtual_account_parameters.go +++ b/payment_request/model_virtual_account_parameters.go @@ -12,7 +12,7 @@ package payment_request import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the VirtualAccountParameters type satisfies the MappedNullable interface at compile time diff --git a/payout/api_payout.go b/payout/api_payout.go index 11c6089a..3a6cc0f2 100644 --- a/payout/api_payout.go +++ b/payout/api_payout.go @@ -8,8 +8,8 @@ import ( "net/url" "strconv" - common "github.com/xendit/xendit-go/v3/common" - utils "github.com/xendit/xendit-go/v3/utils" + common "github.com/xendit/xendit-go/v4/common" + utils "github.com/xendit/xendit-go/v4/utils" "strings" ) diff --git a/payout/model_channel.go b/payout/model_channel.go index c88876da..47f2ae37 100644 --- a/payout/model_channel.go +++ b/payout/model_channel.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the Channel type satisfies the MappedNullable interface at compile time diff --git a/payout/model_channel_amount_limits.go b/payout/model_channel_amount_limits.go index 8df9caca..3f55a192 100644 --- a/payout/model_channel_amount_limits.go +++ b/payout/model_channel_amount_limits.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the ChannelAmountLimits type satisfies the MappedNullable interface at compile time diff --git a/payout/model_create_payout_request.go b/payout/model_create_payout_request.go index 7a116bc2..3271e9ac 100644 --- a/payout/model_create_payout_request.go +++ b/payout/model_create_payout_request.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 ec6d6b0c..87ed9210 100644 --- a/payout/model_digital_payout_channel_properties.go +++ b/payout/model_digital_payout_channel_properties.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 d312fa35..a0a42c5e 100644 --- a/payout/model_error.go +++ b/payout/model_error.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 17886b48..1affd36d 100644 --- a/payout/model_error_errors_inner.go +++ b/payout/model_error_errors_inner.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 ec09fc5f..4eb3556a 100644 --- a/payout/model_get_payouts_200_response.go +++ b/payout/model_get_payouts_200_response.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the GetPayouts200Response type satisfies the MappedNullable interface at compile time diff --git a/payout/model_get_payouts_200_response_links.go b/payout/model_get_payouts_200_response_links.go index cba783c9..b3efb7b7 100644 --- a/payout/model_get_payouts_200_response_links.go +++ b/payout/model_get_payouts_200_response_links.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 08450457..064f8b12 100644 --- a/payout/model_payout.go +++ b/payout/model_payout.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/payout/model_payout_all_of.go b/payout/model_payout_all_of.go index e9754416..ddb55e55 100644 --- a/payout/model_payout_all_of.go +++ b/payout/model_payout_all_of.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" "time" ) diff --git a/payout/model_receipt_notification.go b/payout/model_receipt_notification.go index e4ab2ffb..7eca9a34 100644 --- a/payout/model_receipt_notification.go +++ b/payout/model_receipt_notification.go @@ -12,7 +12,7 @@ package payout import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the ReceiptNotification type satisfies the MappedNullable interface at compile time diff --git a/refund/api_refund.go b/refund/api_refund.go index 92034685..4a5f2ccf 100644 --- a/refund/api_refund.go +++ b/refund/api_refund.go @@ -8,8 +8,8 @@ import ( "net/url" "strconv" - common "github.com/xendit/xendit-go/v3/common" - utils "github.com/xendit/xendit-go/v3/utils" + common "github.com/xendit/xendit-go/v4/common" + utils "github.com/xendit/xendit-go/v4/utils" "strings" ) diff --git a/refund/model_create_refund.go b/refund/model_create_refund.go index 7981937d..23e878d5 100644 --- a/refund/model_create_refund.go +++ b/refund/model_create_refund.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 2249754d..240dc0b7 100644 --- a/refund/model_create_refund_400_response.go +++ b/refund/model_create_refund_400_response.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 38bfdcfc..f633aacf 100644 --- a/refund/model_create_refund_403_response.go +++ b/refund/model_create_refund_403_response.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 c7f62035..a6eaa66e 100644 --- a/refund/model_create_refund_404_response.go +++ b/refund/model_create_refund_404_response.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 e349aaf9..a97b56a1 100644 --- a/refund/model_create_refund_409_response.go +++ b/refund/model_create_refund_409_response.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/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 e033b839..b268fd67 100644 --- a/refund/model_create_refund_503_response.go +++ b/refund/model_create_refund_503_response.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the CreateRefund503Response type satisfies the MappedNullable interface at compile time diff --git a/refund/model_get_all_refunds_default_response.go b/refund/model_get_all_refunds_default_response.go index aab3c381..6593f1d3 100644 --- a/refund/model_get_all_refunds_default_response.go +++ b/refund/model_get_all_refunds_default_response.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the GetAllRefundsDefaultResponse type satisfies the MappedNullable interface at compile time diff --git a/refund/model_refund.go b/refund/model_refund.go index 00a2d603..a0f2910d 100644 --- a/refund/model_refund.go +++ b/refund/model_refund.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the Refund type satisfies the MappedNullable interface at compile time diff --git a/refund/model_refund_callback.go b/refund/model_refund_callback.go index 0827339e..a7632497 100644 --- a/refund/model_refund_callback.go +++ b/refund/model_refund_callback.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the RefundCallback type satisfies the MappedNullable interface at compile time diff --git a/refund/model_refund_callback_data.go b/refund/model_refund_callback_data.go index a7b96cd0..fd2b6bb7 100644 --- a/refund/model_refund_callback_data.go +++ b/refund/model_refund_callback_data.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the RefundCallbackData type satisfies the MappedNullable interface at compile time diff --git a/refund/model_refund_list.go b/refund/model_refund_list.go index 1dba9c68..2ac7dde0 100644 --- a/refund/model_refund_list.go +++ b/refund/model_refund_list.go @@ -12,7 +12,7 @@ package refund import ( "encoding/json" - utils "github.com/xendit/xendit-go/v3/utils" + utils "github.com/xendit/xendit-go/v4/utils" ) // checks if the RefundList type satisfies the MappedNullable interface at compile time