From 5d94fc88bcbda67704eb56ca352aca9b71a780f4 Mon Sep 17 00:00:00 2001 From: Serhat Tunca Date: Thu, 20 Jul 2023 16:44:25 +0300 Subject: [PATCH] fix non nullable fields for payout account response --- adapter/model.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/adapter/model.go b/adapter/model.go index 3187089..76528b6 100644 --- a/adapter/model.go +++ b/adapter/model.go @@ -718,12 +718,12 @@ type ApmDepositPaymentResponse struct { } type PayoutAccountResponse struct { - Id *int64 `json:"id"` - AccountType *PayoutAccountType `json:"type"` - ExternalAccountId *string `json:"externalAccountId"` - Currency *Currency `json:"currency"` - AccountOwner *AccountOwner `json:"accountOwner"` - SubMerchantMemberId *int64 `json:"subMerchantMemberId"` + Id int64 `json:"id"` + AccountType PayoutAccountType `json:"type"` + ExternalAccountId string `json:"externalAccountId"` + Currency Currency `json:"currency"` + AccountOwner AccountOwner `json:"accountOwner"` + SubMerchantMemberId *int64 `json:"subMerchantMemberId"` } type RefundWalletTransactionRequest struct {