| Name | Type | Description | Notes |
|---|---|---|---|
| AmountAtom | int32 | Charge amount without any fees, in smallest currency unit. | |
| CreatedAt | time.Time | DateTime at which the object was created, in 'ISO 8601' format. | |
| Currency | CurrencyEnum | Currency code, e.g., USD. | |
| CustomFields | Pointer to map[string]interface{} | [optional] | |
| CustomerId | string | ID of the customer associated with this charge. | |
| Disputed | bool | Indicates whether the charge is disputed. | |
| FailureCode | NullableString | ||
| FailureMessage | NullableString | ||
| Id | string | Unique Identifier of the charge. | |
| InvoiceId | NullableString | ||
| IsDeleted | Pointer to bool | If true, indicates that this object has been deleted | [optional] [default to false] |
| Object | Pointer to ObjectName | [optional] | |
| PaymentIntentId | string | ID of the payment intent associated with this charge. | |
| PaymentIntentMappingId | NullableString | ||
| PaymentMethod | Pointer to NullablePaymentMethodExternal | [optional] | |
| PaymentMethodId | string | ID of the payment method used for this charge. | |
| PaymentProcessorId | NullableString | ||
| PaymentProcessorName | NullableString | ||
| ProcessorMetadata | Pointer to map[string]interface{} | [optional] | |
| ProviderTypeFeeAmountAtom | int32 | Fee amount charged due to the payment provider type, in smallest currency unit. | |
| Refunded | bool | Indicates whether the charge has been refunded. | |
| RefundedAmountAtom | int32 | Amount refunded, in smallest currency unit. | |
| Status | ChargeStatusEnum | Status of the charge. | |
| SubscriptionIds | Pointer to []string | List of subscription ids for which the charge is created. | [optional] |
| Subscriptions | Pointer to []SubscriptionExternal | List of subscriptions for which the charge is created. | [optional] |
| TotalChargeAmountAtom | int32 | Total charge amount including fees, in smallest currency unit. | |
| UpdatedAt | time.Time | DateTime at which the object was updated, in 'ISO 8601' format. |
func NewChargeExternal(amountAtom int32, createdAt time.Time, currency CurrencyEnum, customerId string, disputed bool, failureCode NullableString, failureMessage NullableString, id string, invoiceId NullableString, paymentIntentId string, paymentIntentMappingId NullableString, paymentMethodId string, paymentProcessorId NullableString, paymentProcessorName NullableString, providerTypeFeeAmountAtom int32, refunded bool, refundedAmountAtom int32, status ChargeStatusEnum, totalChargeAmountAtom int32, updatedAt time.Time, ) *ChargeExternal
NewChargeExternal instantiates a new ChargeExternal object 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 NewChargeExternalWithDefaults() *ChargeExternal
NewChargeExternalWithDefaults instantiates a new ChargeExternal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ChargeExternal) GetAmountAtom() int32
GetAmountAtom returns the AmountAtom field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetAmountAtomOk() (*int32, bool)
GetAmountAtomOk returns a tuple with the AmountAtom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetAmountAtom(v int32)
SetAmountAtom sets AmountAtom field to given value.
func (o *ChargeExternal) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *ChargeExternal) GetCurrency() CurrencyEnum
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetCurrencyOk() (*CurrencyEnum, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetCurrency(v CurrencyEnum)
SetCurrency sets Currency field to given value.
func (o *ChargeExternal) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetCustomFieldsOk() (*map[string]interface{}, bool)
GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *ChargeExternal) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *ChargeExternal) SetCustomFieldsNil(b bool)
SetCustomFieldsNil sets the value for CustomFields to be an explicit nil
func (o *ChargeExternal) UnsetCustomFields()
UnsetCustomFields ensures that no value is present for CustomFields, not even an explicit nil
func (o *ChargeExternal) GetCustomerId() string
GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetCustomerId(v string)
SetCustomerId sets CustomerId field to given value.
func (o *ChargeExternal) GetDisputed() bool
GetDisputed returns the Disputed field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetDisputedOk() (*bool, bool)
GetDisputedOk returns a tuple with the Disputed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetDisputed(v bool)
SetDisputed sets Disputed field to given value.
func (o *ChargeExternal) GetFailureCode() string
GetFailureCode returns the FailureCode field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetFailureCodeOk() (*string, bool)
GetFailureCodeOk returns a tuple with the FailureCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetFailureCode(v string)
SetFailureCode sets FailureCode field to given value.
func (o *ChargeExternal) SetFailureCodeNil(b bool)
SetFailureCodeNil sets the value for FailureCode to be an explicit nil
func (o *ChargeExternal) UnsetFailureCode()
UnsetFailureCode ensures that no value is present for FailureCode, not even an explicit nil
func (o *ChargeExternal) GetFailureMessage() string
GetFailureMessage returns the FailureMessage field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetFailureMessageOk() (*string, bool)
GetFailureMessageOk returns a tuple with the FailureMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetFailureMessage(v string)
SetFailureMessage sets FailureMessage field to given value.
func (o *ChargeExternal) SetFailureMessageNil(b bool)
SetFailureMessageNil sets the value for FailureMessage to be an explicit nil
func (o *ChargeExternal) UnsetFailureMessage()
UnsetFailureMessage ensures that no value is present for FailureMessage, not even an explicit nil
func (o *ChargeExternal) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetId(v string)
SetId sets Id field to given value.
func (o *ChargeExternal) GetInvoiceId() string
GetInvoiceId returns the InvoiceId field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetInvoiceIdOk() (*string, bool)
GetInvoiceIdOk returns a tuple with the InvoiceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetInvoiceId(v string)
SetInvoiceId sets InvoiceId field to given value.
func (o *ChargeExternal) SetInvoiceIdNil(b bool)
SetInvoiceIdNil sets the value for InvoiceId to be an explicit nil
func (o *ChargeExternal) UnsetInvoiceId()
UnsetInvoiceId ensures that no value is present for InvoiceId, not even an explicit nil
func (o *ChargeExternal) GetIsDeleted() bool
GetIsDeleted returns the IsDeleted field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetIsDeletedOk() (*bool, bool)
GetIsDeletedOk returns a tuple with the IsDeleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetIsDeleted(v bool)
SetIsDeleted sets IsDeleted field to given value.
func (o *ChargeExternal) HasIsDeleted() bool
HasIsDeleted returns a boolean if a field has been set.
func (o *ChargeExternal) GetObject() ObjectName
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetObjectOk() (*ObjectName, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetObject(v ObjectName)
SetObject sets Object field to given value.
func (o *ChargeExternal) HasObject() bool
HasObject returns a boolean if a field has been set.
func (o *ChargeExternal) GetPaymentIntentId() string
GetPaymentIntentId returns the PaymentIntentId field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetPaymentIntentIdOk() (*string, bool)
GetPaymentIntentIdOk returns a tuple with the PaymentIntentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetPaymentIntentId(v string)
SetPaymentIntentId sets PaymentIntentId field to given value.
func (o *ChargeExternal) GetPaymentIntentMappingId() string
GetPaymentIntentMappingId returns the PaymentIntentMappingId field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetPaymentIntentMappingIdOk() (*string, bool)
GetPaymentIntentMappingIdOk returns a tuple with the PaymentIntentMappingId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetPaymentIntentMappingId(v string)
SetPaymentIntentMappingId sets PaymentIntentMappingId field to given value.
func (o *ChargeExternal) SetPaymentIntentMappingIdNil(b bool)
SetPaymentIntentMappingIdNil sets the value for PaymentIntentMappingId to be an explicit nil
func (o *ChargeExternal) UnsetPaymentIntentMappingId()
UnsetPaymentIntentMappingId ensures that no value is present for PaymentIntentMappingId, not even an explicit nil
func (o *ChargeExternal) GetPaymentMethod() PaymentMethodExternal
GetPaymentMethod returns the PaymentMethod field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetPaymentMethodOk() (*PaymentMethodExternal, bool)
GetPaymentMethodOk returns a tuple with the PaymentMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetPaymentMethod(v PaymentMethodExternal)
SetPaymentMethod sets PaymentMethod field to given value.
func (o *ChargeExternal) HasPaymentMethod() bool
HasPaymentMethod returns a boolean if a field has been set.
func (o *ChargeExternal) SetPaymentMethodNil(b bool)
SetPaymentMethodNil sets the value for PaymentMethod to be an explicit nil
func (o *ChargeExternal) UnsetPaymentMethod()
UnsetPaymentMethod ensures that no value is present for PaymentMethod, not even an explicit nil
func (o *ChargeExternal) GetPaymentMethodId() string
GetPaymentMethodId returns the PaymentMethodId field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetPaymentMethodIdOk() (*string, bool)
GetPaymentMethodIdOk returns a tuple with the PaymentMethodId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetPaymentMethodId(v string)
SetPaymentMethodId sets PaymentMethodId field to given value.
func (o *ChargeExternal) GetPaymentProcessorId() string
GetPaymentProcessorId returns the PaymentProcessorId field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetPaymentProcessorIdOk() (*string, bool)
GetPaymentProcessorIdOk returns a tuple with the PaymentProcessorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetPaymentProcessorId(v string)
SetPaymentProcessorId sets PaymentProcessorId field to given value.
func (o *ChargeExternal) SetPaymentProcessorIdNil(b bool)
SetPaymentProcessorIdNil sets the value for PaymentProcessorId to be an explicit nil
func (o *ChargeExternal) UnsetPaymentProcessorId()
UnsetPaymentProcessorId ensures that no value is present for PaymentProcessorId, not even an explicit nil
func (o *ChargeExternal) GetPaymentProcessorName() string
GetPaymentProcessorName returns the PaymentProcessorName field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetPaymentProcessorNameOk() (*string, bool)
GetPaymentProcessorNameOk returns a tuple with the PaymentProcessorName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetPaymentProcessorName(v string)
SetPaymentProcessorName sets PaymentProcessorName field to given value.
func (o *ChargeExternal) SetPaymentProcessorNameNil(b bool)
SetPaymentProcessorNameNil sets the value for PaymentProcessorName to be an explicit nil
func (o *ChargeExternal) UnsetPaymentProcessorName()
UnsetPaymentProcessorName ensures that no value is present for PaymentProcessorName, not even an explicit nil
func (o *ChargeExternal) GetProcessorMetadata() map[string]interface{}
GetProcessorMetadata returns the ProcessorMetadata field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetProcessorMetadataOk() (*map[string]interface{}, bool)
GetProcessorMetadataOk returns a tuple with the ProcessorMetadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetProcessorMetadata(v map[string]interface{})
SetProcessorMetadata sets ProcessorMetadata field to given value.
func (o *ChargeExternal) HasProcessorMetadata() bool
HasProcessorMetadata returns a boolean if a field has been set.
func (o *ChargeExternal) SetProcessorMetadataNil(b bool)
SetProcessorMetadataNil sets the value for ProcessorMetadata to be an explicit nil
func (o *ChargeExternal) UnsetProcessorMetadata()
UnsetProcessorMetadata ensures that no value is present for ProcessorMetadata, not even an explicit nil
func (o *ChargeExternal) GetProviderTypeFeeAmountAtom() int32
GetProviderTypeFeeAmountAtom returns the ProviderTypeFeeAmountAtom field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetProviderTypeFeeAmountAtomOk() (*int32, bool)
GetProviderTypeFeeAmountAtomOk returns a tuple with the ProviderTypeFeeAmountAtom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetProviderTypeFeeAmountAtom(v int32)
SetProviderTypeFeeAmountAtom sets ProviderTypeFeeAmountAtom field to given value.
func (o *ChargeExternal) GetRefunded() bool
GetRefunded returns the Refunded field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetRefundedOk() (*bool, bool)
GetRefundedOk returns a tuple with the Refunded field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetRefunded(v bool)
SetRefunded sets Refunded field to given value.
func (o *ChargeExternal) GetRefundedAmountAtom() int32
GetRefundedAmountAtom returns the RefundedAmountAtom field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetRefundedAmountAtomOk() (*int32, bool)
GetRefundedAmountAtomOk returns a tuple with the RefundedAmountAtom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetRefundedAmountAtom(v int32)
SetRefundedAmountAtom sets RefundedAmountAtom field to given value.
func (o *ChargeExternal) GetStatus() ChargeStatusEnum
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetStatusOk() (*ChargeStatusEnum, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetStatus(v ChargeStatusEnum)
SetStatus sets Status field to given value.
func (o *ChargeExternal) GetSubscriptionIds() []string
GetSubscriptionIds returns the SubscriptionIds field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetSubscriptionIdsOk() (*[]string, bool)
GetSubscriptionIdsOk returns a tuple with the SubscriptionIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetSubscriptionIds(v []string)
SetSubscriptionIds sets SubscriptionIds field to given value.
func (o *ChargeExternal) HasSubscriptionIds() bool
HasSubscriptionIds returns a boolean if a field has been set.
func (o *ChargeExternal) GetSubscriptions() []SubscriptionExternal
GetSubscriptions returns the Subscriptions field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetSubscriptionsOk() (*[]SubscriptionExternal, bool)
GetSubscriptionsOk returns a tuple with the Subscriptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetSubscriptions(v []SubscriptionExternal)
SetSubscriptions sets Subscriptions field to given value.
func (o *ChargeExternal) HasSubscriptions() bool
HasSubscriptions returns a boolean if a field has been set.
func (o *ChargeExternal) GetTotalChargeAmountAtom() int32
GetTotalChargeAmountAtom returns the TotalChargeAmountAtom field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetTotalChargeAmountAtomOk() (*int32, bool)
GetTotalChargeAmountAtomOk returns a tuple with the TotalChargeAmountAtom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetTotalChargeAmountAtom(v int32)
SetTotalChargeAmountAtom sets TotalChargeAmountAtom field to given value.
func (o *ChargeExternal) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *ChargeExternal) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChargeExternal) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.