class

Stripe::TransferScheduleSpecs

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

Constants

ERROR_MESSAGE_FOR_INTERVAL = "invalid value for \"interval\", must be one of [daily, manual, monthly, weekly]."
ERROR_MESSAGE_FOR_WEEKLY_ANCHOR = "invalid value for \"weekly_anchor\", must be one of [friday, monday, saturday, sunday, thursday, tuesday, wednesday]."
MAX_LENGTH_FOR_INTERVAL = 5000
MAX_LENGTH_FOR_WEEKLY_ANCHOR = 5000
VALID_VALUES_FOR_INTERVAL = String.static_array("daily", "manual", "monthly", "weekly")
VALID_VALUES_FOR_WEEKLY_ANCHOR = String.static_array("friday", "monday", "saturday", "sunday", "thursday", "tuesday", "wednesday")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, delay_days : Stripe::TransferScheduleSpecsDelayDays | 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
Source
delay_days=(new_value : Stripe::TransferScheduleSpecsDelayDays | 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 available funds are paid out. One of: daily, manual, weekly, or monthly. Default is daily.

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 when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if interval is monthly.

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 when available funds are paid out, specified as monday, tuesday, etc. (required and applicable only 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