class Stripe::RefundDestinationDetails

Overview

Included Modules

Defined in:

stripe/models/refund_destination_details.cr

Constant Summary

MAX_LENGTH_FOR__TYPE = 5000

Constructors

Instance Method Summary

Instance methods inherited from module OpenApi::Json

after_initialize after_initialize, clone clone, eql?(o : self) eql?, to_hash : Hash(String, JSON::Any) to_hash, to_json_any : JSON::Any to_json_any

Class methods inherited from module OpenApi::Json

build_from_hash(hash : Hash) build_from_hash, build_from_json_any(json_any : JSON::Any) build_from_json_any

Instance methods inherited from module OpenApi::Validatable

list_invalid_properties : Array(String) list_invalid_properties, list_invalid_properties_for(key : String) : Array(String) list_invalid_properties_for, valid? : Bool valid?, validate : Nil validate

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, _type : String | Nil = nil, affirm : JSON::Any | Nil = nil, afterpay_clearpay : JSON::Any | Nil = nil, alipay : JSON::Any | Nil = nil, amazon_pay : JSON::Any | Nil = nil, au_bank_transfer : JSON::Any | Nil = nil, blik : Stripe::RefundDestinationDetailsGeneric | Nil = nil, br_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil = nil, card : Stripe::RefundDestinationDetailsCard | Nil = nil, cashapp : JSON::Any | Nil = nil, customer_cash_balance : JSON::Any | Nil = nil, eps : JSON::Any | Nil = nil, eu_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil = nil, gb_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil = nil, giropay : JSON::Any | Nil = nil, grabpay : JSON::Any | Nil = nil, jp_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil = nil, klarna : JSON::Any | Nil = nil, multibanco : Stripe::RefundDestinationDetailsGeneric | Nil = nil, mx_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil = nil, p24 : Stripe::RefundDestinationDetailsGeneric | Nil = nil, paynow : JSON::Any | Nil = nil, paypal : JSON::Any | Nil = nil, pix : JSON::Any | Nil = nil, revolut : JSON::Any | Nil = nil, sofort : JSON::Any | Nil = nil, swish : Stripe::RefundDestinationDetailsGeneric | Nil = nil, th_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil = nil, us_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil = nil, wechat_pay : JSON::Any | Nil = nil, zip : JSON::Any | Nil = nil) #

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


[View source]

Instance Method Detail

def ==(other : self) #

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


def _type : String | Nil #

[View source]
def _type=(new_value : String | Nil) #

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


[View source]
def affirm : JSON::Any | Nil #

[View source]
def affirm=(new_value : JSON::Any | Nil) #

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


[View source]
def afterpay_clearpay : JSON::Any | Nil #

[View source]
def afterpay_clearpay=(new_value : JSON::Any | Nil) #

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


[View source]
def alipay : JSON::Any | Nil #

[View source]
def alipay=(new_value : JSON::Any | Nil) #

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


[View source]
def amazon_pay : JSON::Any | Nil #

[View source]
def amazon_pay=(new_value : JSON::Any | Nil) #

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


[View source]
def au_bank_transfer : JSON::Any | Nil #

[View source]
def au_bank_transfer=(new_value : JSON::Any | Nil) #

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


[View source]

[View source]
def blik=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]
def br_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil #

[View source]
def br_bank_transfer=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]

[View source]
def card=(new_value : Stripe::RefundDestinationDetailsCard | Nil) #

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


[View source]
def cashapp : JSON::Any | Nil #

[View source]
def cashapp=(new_value : JSON::Any | Nil) #

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


[View source]
def customer_cash_balance : JSON::Any | Nil #

[View source]
def customer_cash_balance=(new_value : JSON::Any | Nil) #

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


[View source]
def eps : JSON::Any | Nil #

[View source]
def eps=(new_value : JSON::Any | Nil) #

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


[View source]
def eu_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil #

[View source]
def eu_bank_transfer=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]
def gb_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil #

[View source]
def gb_bank_transfer=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]
def giropay : JSON::Any | Nil #

[View source]
def giropay=(new_value : JSON::Any | Nil) #

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


[View source]
def grabpay : JSON::Any | Nil #

[View source]
def grabpay=(new_value : JSON::Any | Nil) #

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


[View source]
def hash(hasher) #

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


def jp_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil #

[View source]
def jp_bank_transfer=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]
def klarna : JSON::Any | Nil #

[View source]
def klarna=(new_value : JSON::Any | Nil) #

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


[View source]
def list_invalid_properties : Array(String) #

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


[View source]

[View source]
def multibanco=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]
def mx_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil #

[View source]
def mx_bank_transfer=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]

[View source]
def p24=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]
def paynow : JSON::Any | Nil #

[View source]
def paynow=(new_value : JSON::Any | Nil) #

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


[View source]
def paypal : JSON::Any | Nil #

[View source]
def paypal=(new_value : JSON::Any | Nil) #

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


[View source]
def pix : JSON::Any | Nil #

[View source]
def pix=(new_value : JSON::Any | Nil) #

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


[View source]
def revolut : JSON::Any | Nil #

[View source]
def revolut=(new_value : JSON::Any | Nil) #

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


[View source]
def sofort : JSON::Any | Nil #

[View source]
def sofort=(new_value : JSON::Any | Nil) #

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


[View source]

[View source]
def swish=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]
def th_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil #

[View source]
def th_bank_transfer=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]
def us_bank_transfer : Stripe::RefundDestinationDetailsGeneric | Nil #

[View source]
def us_bank_transfer=(new_value : Stripe::RefundDestinationDetailsGeneric | Nil) #

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


[View source]
def valid? : Bool #

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


[View source]
def wechat_pay : JSON::Any | Nil #

[View source]
def wechat_pay=(new_value : JSON::Any | Nil) #

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


[View source]
def zip : JSON::Any | Nil #

[View source]
def zip=(new_value : JSON::Any | Nil) #

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


[View source]