class Stripe::CountryOptions

Included Modules

Defined in:

stripe/models/country_options.cr

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(*, ae : Stripe::Default | Nil = nil, at : Stripe::Europe | Nil = nil, au : Stripe::Default | Nil = nil, be : Stripe::Europe | Nil = nil, bg : Stripe::Europe | Nil = nil, bh : Stripe::Default | Nil = nil, ca : Stripe::Canada | Nil = nil, ch : Stripe::Default | Nil = nil, cl : Stripe::Simplified | Nil = nil, co : Stripe::Simplified | Nil = nil, cy : Stripe::Europe | Nil = nil, cz : Stripe::Europe | Nil = nil, de : Stripe::Europe | Nil = nil, dk : Stripe::Europe | Nil = nil, ee : Stripe::Europe | Nil = nil, eg : Stripe::Simplified | Nil = nil, es : Stripe::Europe | Nil = nil, fi : Stripe::Europe | Nil = nil, fr : Stripe::Europe | Nil = nil, gb : Stripe::Default | Nil = nil, ge : Stripe::Simplified | Nil = nil, gr : Stripe::Europe | Nil = nil, hr : Stripe::Europe | Nil = nil, hu : Stripe::Europe | Nil = nil, id : Stripe::Simplified | Nil = nil, ie : Stripe::Europe | Nil = nil, is : Stripe::Default | Nil = nil, it : Stripe::Europe | Nil = nil, jp : Stripe::Default | Nil = nil, ke : Stripe::Simplified | Nil = nil, kr : Stripe::Simplified | Nil = nil, kz : Stripe::Simplified | Nil = nil, lt : Stripe::Europe | Nil = nil, lu : Stripe::Europe | Nil = nil, lv : Stripe::Europe | Nil = nil, mt : Stripe::Europe | Nil = nil, mx : Stripe::Simplified | Nil = nil, my : Stripe::Simplified | Nil = nil, ng : Stripe::Simplified | Nil = nil, nl : Stripe::Europe | Nil = nil, no : Stripe::Default | Nil = nil, nz : Stripe::Default | Nil = nil, om : Stripe::Default | Nil = nil, pl : Stripe::Europe | Nil = nil, pt : Stripe::Europe | Nil = nil, ro : Stripe::Europe | Nil = nil, sa : Stripe::Simplified | Nil = nil, se : Stripe::Europe | Nil = nil, sg : Stripe::Default | Nil = nil, si : Stripe::Europe | Nil = nil, sk : Stripe::Europe | Nil = nil, th : Stripe::Simplified | Nil = nil, tr : Stripe::Simplified | Nil = nil, us : Stripe::UnitedStates | Nil = nil, vn : Stripe::Simplified | Nil = nil, za : Stripe::Default | 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 ae : Stripe::Default | Nil #

[View source]
def ae=(new_value : Stripe::Default | Nil) #

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


[View source]
def at : Stripe::Europe | Nil #

[View source]
def at=(new_value : Stripe::Europe | Nil) #

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


[View source]
def au : Stripe::Default | Nil #

[View source]
def au=(new_value : Stripe::Default | Nil) #

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


[View source]
def be : Stripe::Europe | Nil #

[View source]
def be=(new_value : Stripe::Europe | Nil) #

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


[View source]
def bg : Stripe::Europe | Nil #

[View source]
def bg=(new_value : Stripe::Europe | Nil) #

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


[View source]
def bh : Stripe::Default | Nil #

[View source]
def bh=(new_value : Stripe::Default | Nil) #

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


[View source]
def ca : Stripe::Canada | Nil #

[View source]
def ca=(new_value : Stripe::Canada | Nil) #

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


[View source]
def ch : Stripe::Default | Nil #

[View source]
def ch=(new_value : Stripe::Default | Nil) #

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


[View source]
def cl : Stripe::Simplified | Nil #

[View source]
def cl=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def co : Stripe::Simplified | Nil #

[View source]
def co=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def cy : Stripe::Europe | Nil #

[View source]
def cy=(new_value : Stripe::Europe | Nil) #

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


[View source]
def cz : Stripe::Europe | Nil #

[View source]
def cz=(new_value : Stripe::Europe | Nil) #

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


[View source]
def de : Stripe::Europe | Nil #

[View source]
def de=(new_value : Stripe::Europe | Nil) #

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


[View source]
def dk : Stripe::Europe | Nil #

[View source]
def dk=(new_value : Stripe::Europe | Nil) #

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


[View source]
def ee : Stripe::Europe | Nil #

[View source]
def ee=(new_value : Stripe::Europe | Nil) #

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


[View source]
def eg : Stripe::Simplified | Nil #

[View source]
def eg=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def es : Stripe::Europe | Nil #

[View source]
def es=(new_value : Stripe::Europe | Nil) #

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


[View source]
def fi : Stripe::Europe | Nil #

[View source]
def fi=(new_value : Stripe::Europe | Nil) #

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


[View source]
def fr : Stripe::Europe | Nil #

[View source]
def fr=(new_value : Stripe::Europe | Nil) #

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


[View source]
def gb : Stripe::Default | Nil #

[View source]
def gb=(new_value : Stripe::Default | Nil) #

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


[View source]
def ge : Stripe::Simplified | Nil #

[View source]
def ge=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def gr : Stripe::Europe | Nil #

[View source]
def gr=(new_value : Stripe::Europe | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] gr 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 hr : Stripe::Europe | Nil #

[View source]
def hr=(new_value : Stripe::Europe | Nil) #

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


[View source]
def hu : Stripe::Europe | Nil #

[View source]
def hu=(new_value : Stripe::Europe | Nil) #

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


[View source]
def id : Stripe::Simplified | Nil #

[View source]
def id=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def ie : Stripe::Europe | Nil #

[View source]
def ie=(new_value : Stripe::Europe | Nil) #

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


[View source]
def is : Stripe::Default | Nil #

[View source]
def is=(new_value : Stripe::Default | Nil) #

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


[View source]
def it : Stripe::Europe | Nil #

[View source]
def it=(new_value : Stripe::Europe | Nil) #

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


[View source]
def jp : Stripe::Default | Nil #

[View source]
def jp=(new_value : Stripe::Default | Nil) #

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


[View source]
def ke : Stripe::Simplified | Nil #

[View source]
def ke=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def kr : Stripe::Simplified | Nil #

[View source]
def kr=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def kz : Stripe::Simplified | Nil #

[View source]
def kz=(new_value : Stripe::Simplified | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] kz 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]
def lt : Stripe::Europe | Nil #

[View source]
def lt=(new_value : Stripe::Europe | Nil) #

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


[View source]
def lu : Stripe::Europe | Nil #

[View source]
def lu=(new_value : Stripe::Europe | Nil) #

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


[View source]
def lv : Stripe::Europe | Nil #

[View source]
def lv=(new_value : Stripe::Europe | Nil) #

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


[View source]
def mt : Stripe::Europe | Nil #

[View source]
def mt=(new_value : Stripe::Europe | Nil) #

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


[View source]
def mx : Stripe::Simplified | Nil #

[View source]
def mx=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def my : Stripe::Simplified | Nil #

[View source]
def my=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def ng : Stripe::Simplified | Nil #

[View source]
def ng=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def nl : Stripe::Europe | Nil #

[View source]
def nl=(new_value : Stripe::Europe | Nil) #

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


[View source]
def no : Stripe::Default | Nil #

[View source]
def no=(new_value : Stripe::Default | Nil) #

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


[View source]
def nz : Stripe::Default | Nil #

[View source]
def nz=(new_value : Stripe::Default | Nil) #

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


[View source]
def om : Stripe::Default | Nil #

[View source]
def om=(new_value : Stripe::Default | Nil) #

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


[View source]
def pl : Stripe::Europe | Nil #

[View source]
def pl=(new_value : Stripe::Europe | Nil) #

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


[View source]
def pt : Stripe::Europe | Nil #

[View source]
def pt=(new_value : Stripe::Europe | Nil) #

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


[View source]
def ro : Stripe::Europe | Nil #

[View source]
def ro=(new_value : Stripe::Europe | Nil) #

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


[View source]
def sa : Stripe::Simplified | Nil #

[View source]
def sa=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def se : Stripe::Europe | Nil #

[View source]
def se=(new_value : Stripe::Europe | Nil) #

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


[View source]
def sg : Stripe::Default | Nil #

[View source]
def sg=(new_value : Stripe::Default | Nil) #

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


[View source]
def si : Stripe::Europe | Nil #

[View source]
def si=(new_value : Stripe::Europe | Nil) #

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


[View source]
def sk : Stripe::Europe | Nil #

[View source]
def sk=(new_value : Stripe::Europe | Nil) #

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


[View source]
def th : Stripe::Simplified | Nil #

[View source]
def th=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def tr : Stripe::Simplified | Nil #

[View source]
def tr=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def us : Stripe::UnitedStates | Nil #

[View source]
def us=(new_value : Stripe::UnitedStates | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] us 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 vn : Stripe::Simplified | Nil #

[View source]
def vn=(new_value : Stripe::Simplified | Nil) #

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


[View source]
def za : Stripe::Default | Nil #

[View source]
def za=(new_value : Stripe::Default | Nil) #

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


[View source]