From d702ce392f2403d5e5522a27c14f41343e78bc54 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Mon, 12 Oct 2020 18:25:14 -0700 Subject: [PATCH] Add support for `Description`, `IIN`and `Issuer` on `Charge` --- charge.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/charge.go b/charge.go index aa82be82bf..2cc900199c 100644 --- a/charge.go +++ b/charge.go @@ -406,6 +406,12 @@ type ChargePaymentMethodDetailsCardPresent struct { Network PaymentMethodCardNetwork `json:"network"` ReadMethod string `json:"read_method"` Receipt *ChargePaymentMethodDetailsCardPresentReceipt `json:"receipt"` + + // Please note that the fields below are for internal use only and are not returned + // as part of standard API requests. + Description string `json:"description"` + IIN string `json:"iin"` + Issuer string `json:"issuer"` } // ChargePaymentMethodDetailsEps represents details about the EPS PaymentMethod. @@ -453,6 +459,12 @@ type ChargePaymentMethodDetailsInteracPresent struct { Network string `json:"network"` ReadMethod string `json:"read_method"` Receipt *ChargePaymentMethodDetailsInteracPresentReceipt `json:"receipt"` + + // Please note that the fields below are for internal use only and are not returned + // as part of standard API requests. + Description string `json:"description"` + IIN string `json:"iin"` + Issuer string `json:"issuer"` } // ChargePaymentMethodDetailsInteracPresentReceipt represents details about the InteracPresent Receipt.