Name | Type | Description | Notes |
---|---|---|---|
SingleBooking | Pointer to bool | This field is only relevant when you pass multiple orders. It determines whether the orders should be processed by the bank as one collective booking (in case of 'false'), or as single bookings (in case of 'true'). Note that it is subject to the bank whether it will regard the field. Default value is 'false'. | [optional] [default to false] |
AccountId | int64 | Identifier of the account that should be used for the direct debit. | |
DirectDebitType | DirectDebitType | <strong>Type:</strong> DirectDebitType<br/> Type of the direct debit; either <code>BASIC</code> or <code>B2B</code> (Business-To-Business). | |
SequenceType | DirectDebitSequenceType | <strong>Type:</strong> DirectDebitSequenceType<br/> Sequence type of the direct debit. Possible values:<br/><br/>• <code>OOFF</code> - means that this is a one-time direct debit order<br/>• <code>FRST</code> - means that this is the first in a row of multiple direct debit orders<br/>• <code>RCUR</code> - means that this is one (but not the first or final) within a row of multiple direct debit orders<br/>• <code>FNAL</code> - means that this is the final in a row of multiple direct debit orders<br/><br/> | |
DirectDebits | []DirectDebitOrderParams | <strong>Type:</strong> DirectDebitOrderParams<br/> List of direct debit orders (may contain at most 15000 items). Please note that collective direct debit may not always be supported. | |
ExecutionDate | string | Execution date for the direct debit(s), in the format 'YYYY-MM-DD'. May not be in the past. If not specified, most banks will use the current date as the instructed date for execution. |
func NewCreateDirectDebitParams(accountId int64, directDebitType DirectDebitType, sequenceType DirectDebitSequenceType, directDebits []DirectDebitOrderParams, executionDate string, ) *CreateDirectDebitParams
NewCreateDirectDebitParams instantiates a new CreateDirectDebitParams 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 NewCreateDirectDebitParamsWithDefaults() *CreateDirectDebitParams
NewCreateDirectDebitParamsWithDefaults instantiates a new CreateDirectDebitParams 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 *CreateDirectDebitParams) GetSingleBooking() bool
GetSingleBooking returns the SingleBooking field if non-nil, zero value otherwise.
func (o *CreateDirectDebitParams) GetSingleBookingOk() (*bool, bool)
GetSingleBookingOk returns a tuple with the SingleBooking field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDirectDebitParams) SetSingleBooking(v bool)
SetSingleBooking sets SingleBooking field to given value.
func (o *CreateDirectDebitParams) HasSingleBooking() bool
HasSingleBooking returns a boolean if a field has been set.
func (o *CreateDirectDebitParams) GetAccountId() int64
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *CreateDirectDebitParams) GetAccountIdOk() (*int64, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDirectDebitParams) SetAccountId(v int64)
SetAccountId sets AccountId field to given value.
func (o *CreateDirectDebitParams) GetDirectDebitType() DirectDebitType
GetDirectDebitType returns the DirectDebitType field if non-nil, zero value otherwise.
func (o *CreateDirectDebitParams) GetDirectDebitTypeOk() (*DirectDebitType, bool)
GetDirectDebitTypeOk returns a tuple with the DirectDebitType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDirectDebitParams) SetDirectDebitType(v DirectDebitType)
SetDirectDebitType sets DirectDebitType field to given value.
func (o *CreateDirectDebitParams) GetSequenceType() DirectDebitSequenceType
GetSequenceType returns the SequenceType field if non-nil, zero value otherwise.
func (o *CreateDirectDebitParams) GetSequenceTypeOk() (*DirectDebitSequenceType, bool)
GetSequenceTypeOk returns a tuple with the SequenceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDirectDebitParams) SetSequenceType(v DirectDebitSequenceType)
SetSequenceType sets SequenceType field to given value.
func (o *CreateDirectDebitParams) GetDirectDebits() []DirectDebitOrderParams
GetDirectDebits returns the DirectDebits field if non-nil, zero value otherwise.
func (o *CreateDirectDebitParams) GetDirectDebitsOk() (*[]DirectDebitOrderParams, bool)
GetDirectDebitsOk returns a tuple with the DirectDebits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDirectDebitParams) SetDirectDebits(v []DirectDebitOrderParams)
SetDirectDebits sets DirectDebits field to given value.
func (o *CreateDirectDebitParams) GetExecutionDate() string
GetExecutionDate returns the ExecutionDate field if non-nil, zero value otherwise.
func (o *CreateDirectDebitParams) GetExecutionDateOk() (*string, bool)
GetExecutionDateOk returns a tuple with the ExecutionDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDirectDebitParams) SetExecutionDate(v string)
SetExecutionDate sets ExecutionDate field to given value.