class Stripe::CountryOptions
- Stripe::CountryOptions
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
stripe/models/country_options.crConstructors
- .new(pull : JSON::PullParser)
-
.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
Instance Method Summary
-
#==(other : self)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #ae : Stripe::Default | Nil
-
#ae=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #at : Stripe::Europe | Nil
-
#at=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #au : Stripe::Default | Nil
-
#au=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #be : Stripe::Europe | Nil
-
#be=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #bg : Stripe::Europe | Nil
-
#bg=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #bh : Stripe::Default | Nil
-
#bh=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #ca : Stripe::Canada | Nil
-
#ca=(new_value : Stripe::Canada | Nil)
Custom attribute writer method checking allowed values (enum).
- #ch : Stripe::Default | Nil
-
#ch=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #cl : Stripe::Simplified | Nil
-
#cl=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #co : Stripe::Simplified | Nil
-
#co=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #cy : Stripe::Europe | Nil
-
#cy=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #cz : Stripe::Europe | Nil
-
#cz=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #de : Stripe::Europe | Nil
-
#de=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #dk : Stripe::Europe | Nil
-
#dk=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #ee : Stripe::Europe | Nil
-
#ee=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #eg : Stripe::Simplified | Nil
-
#eg=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #es : Stripe::Europe | Nil
-
#es=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #fi : Stripe::Europe | Nil
-
#fi=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #fr : Stripe::Europe | Nil
-
#fr=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #gb : Stripe::Default | Nil
-
#gb=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #ge : Stripe::Simplified | Nil
-
#ge=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #gr : Stripe::Europe | Nil
-
#gr=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
-
#hash(hasher)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #hr : Stripe::Europe | Nil
-
#hr=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #hu : Stripe::Europe | Nil
-
#hu=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #id : Stripe::Simplified | Nil
-
#id=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #ie : Stripe::Europe | Nil
-
#ie=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #is : Stripe::Default | Nil
-
#is=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #it : Stripe::Europe | Nil
-
#it=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #jp : Stripe::Default | Nil
-
#jp=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #ke : Stripe::Simplified | Nil
-
#ke=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #kr : Stripe::Simplified | Nil
-
#kr=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #kz : Stripe::Simplified | Nil
-
#kz=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #lt : Stripe::Europe | Nil
-
#lt=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #lu : Stripe::Europe | Nil
-
#lu=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #lv : Stripe::Europe | Nil
-
#lv=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #mt : Stripe::Europe | Nil
-
#mt=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #mx : Stripe::Simplified | Nil
-
#mx=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #my : Stripe::Simplified | Nil
-
#my=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #ng : Stripe::Simplified | Nil
-
#ng=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #nl : Stripe::Europe | Nil
-
#nl=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #no : Stripe::Default | Nil
-
#no=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #nz : Stripe::Default | Nil
-
#nz=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #om : Stripe::Default | Nil
-
#om=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #pl : Stripe::Europe | Nil
-
#pl=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #pt : Stripe::Europe | Nil
-
#pt=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #ro : Stripe::Europe | Nil
-
#ro=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #sa : Stripe::Simplified | Nil
-
#sa=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #se : Stripe::Europe | Nil
-
#se=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #sg : Stripe::Default | Nil
-
#sg=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
- #si : Stripe::Europe | Nil
-
#si=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #sk : Stripe::Europe | Nil
-
#sk=(new_value : Stripe::Europe | Nil)
Custom attribute writer method checking allowed values (enum).
- #th : Stripe::Simplified | Nil
-
#th=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #tr : Stripe::Simplified | Nil
-
#tr=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #us : Stripe::UnitedStates | Nil
-
#us=(new_value : Stripe::UnitedStates | Nil)
Custom attribute writer method checking allowed values (enum).
-
#valid? : Bool
Check to see if the all the properties in the model are valid @return true if the model is valid
- #vn : Stripe::Simplified | Nil
-
#vn=(new_value : Stripe::Simplified | Nil)
Custom attribute writer method checking allowed values (enum).
- #za : Stripe::Default | Nil
-
#za=(new_value : Stripe::Default | Nil)
Custom attribute writer method checking allowed values (enum).
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
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Detail
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] ae Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] at Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] au Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] be Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] bg Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] bh Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ca Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ch Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] cl Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] co Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] cy Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] cz Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] de Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] dk Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ee Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] eg Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] es Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] fi Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] fr Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] gb Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ge Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] gr Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] hr Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] hu Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ie Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] is Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] it Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] jp Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ke Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] kr Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] kz Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] lt Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] lu Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] lv Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] mt Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] mx Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] my Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ng Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] nl Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] no Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] nz Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] om Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pl Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pt Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ro Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] sa Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] se Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] sg Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] si Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] sk Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] th Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] tr Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] us Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid
Custom attribute writer method checking allowed values (enum). @param [Object] vn Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] za Object to be assigned