Skip to content

Latest commit

 

History

History
161 lines (86 loc) · 6.67 KB

CreateDirectDebitParams.md

File metadata and controls

161 lines (86 loc) · 6.67 KB

CreateDirectDebitParams

Properties

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/>&bull; <code>OOFF</code> - means that this is a one-time direct debit order<br/>&bull; <code>FRST</code> - means that this is the first in a row of multiple direct debit orders<br/>&bull; <code>RCUR</code> - means that this is one (but not the first or final) within a row of multiple direct debit orders<br/>&bull; <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.

Methods

NewCreateDirectDebitParams

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

NewCreateDirectDebitParamsWithDefaults

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

GetSingleBooking

func (o *CreateDirectDebitParams) GetSingleBooking() bool

GetSingleBooking returns the SingleBooking field if non-nil, zero value otherwise.

GetSingleBookingOk

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.

SetSingleBooking

func (o *CreateDirectDebitParams) SetSingleBooking(v bool)

SetSingleBooking sets SingleBooking field to given value.

HasSingleBooking

func (o *CreateDirectDebitParams) HasSingleBooking() bool

HasSingleBooking returns a boolean if a field has been set.

GetAccountId

func (o *CreateDirectDebitParams) GetAccountId() int64

GetAccountId returns the AccountId field if non-nil, zero value otherwise.

GetAccountIdOk

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.

SetAccountId

func (o *CreateDirectDebitParams) SetAccountId(v int64)

SetAccountId sets AccountId field to given value.

GetDirectDebitType

func (o *CreateDirectDebitParams) GetDirectDebitType() DirectDebitType

GetDirectDebitType returns the DirectDebitType field if non-nil, zero value otherwise.

GetDirectDebitTypeOk

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.

SetDirectDebitType

func (o *CreateDirectDebitParams) SetDirectDebitType(v DirectDebitType)

SetDirectDebitType sets DirectDebitType field to given value.

GetSequenceType

func (o *CreateDirectDebitParams) GetSequenceType() DirectDebitSequenceType

GetSequenceType returns the SequenceType field if non-nil, zero value otherwise.

GetSequenceTypeOk

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.

SetSequenceType

func (o *CreateDirectDebitParams) SetSequenceType(v DirectDebitSequenceType)

SetSequenceType sets SequenceType field to given value.

GetDirectDebits

func (o *CreateDirectDebitParams) GetDirectDebits() []DirectDebitOrderParams

GetDirectDebits returns the DirectDebits field if non-nil, zero value otherwise.

GetDirectDebitsOk

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.

SetDirectDebits

func (o *CreateDirectDebitParams) SetDirectDebits(v []DirectDebitOrderParams)

SetDirectDebits sets DirectDebits field to given value.

GetExecutionDate

func (o *CreateDirectDebitParams) GetExecutionDate() string

GetExecutionDate returns the ExecutionDate field if non-nil, zero value otherwise.

GetExecutionDateOk

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.

SetExecutionDate

func (o *CreateDirectDebitParams) SetExecutionDate(v string)

SetExecutionDate sets ExecutionDate field to given value.

[Back to Model list] [Back to API list] [Back to README]