Class: FinchAPI::Models::Sandbox::PaymentCreateParams

Inherits:
BaseModel
  • Object
show all
Includes:
Type::RequestParameters
Defined in:
lib/finch-api/models/sandbox/payment_create_params.rb

Defined Under Namespace

Classes: PayStatement

Instance Attribute Summary collapse

Attributes included from Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Type::RequestParameters

included

Constructor Details

#initialize(end_date: nil, pay_statements: nil, start_date: nil, request_options: {}) ⇒ PaymentCreateParams

Returns a new instance of PaymentCreateParams.

Parameters:



6
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 6

def initialize(end_date: nil, pay_statements: nil, start_date: nil, request_options: {}, **) = super

Instance Attribute Details

#end_dateString?

Returns:

  • (String, nil)


14
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 14

optional :end_date, String

#pay_statementsArray<FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement>?



23
24
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 23

optional :pay_statements,
-> { FinchAPI::ArrayOf[FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement] }

#start_dateString?

Returns:

  • (String, nil)


33
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 33

optional :start_date, String