class

Stripe::TransferSchedule

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

MAX_LENGTH_FOR_INTERVAL = 5000
MAX_LENGTH_FOR_WEEKLY_ANCHOR = 5000

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, delay_days : Int64 | Nil = nil, interval : String | Nil = nil, monthly_anchor : Int64 | Nil = nil, weekly_anchor : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

delay_days

The number of days charges for the account will be held before being paid out.

Source
delay_days=(new_value : Int64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] delay_days Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

interval

How frequently funds will be paid out. One of manual (payouts only created via API call), daily, weekly, or monthly.

Source
interval=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] interval Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
monthly_anchor

The day of the month funds will be paid out. Only shown if interval is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months.

Source
monthly_anchor=(new_value : Int64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] monthly_anchor Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source
weekly_anchor

The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only shown if interval is weekly.

Source
weekly_anchor=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] weekly_anchor Object to be assigned

Source