class Stripe::SourceTypeKlarna
- Stripe::SourceTypeKlarna
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
stripe/models/source_type_klarna.crConstructors
- .new(pull : JSON::PullParser)
-
.new(*, background_image_url : String | Nil = nil, client_token : String | Nil = nil, first_name : String | Nil = nil, last_name : String | Nil = nil, locale : String | Nil = nil, logo_url : String | Nil = nil, page_title : String | Nil = nil, pay_later_asset_urls_descriptive : String | Nil = nil, pay_later_asset_urls_standard : String | Nil = nil, pay_later_name : String | Nil = nil, pay_later_redirect_url : String | Nil = nil, pay_now_asset_urls_descriptive : String | Nil = nil, pay_now_asset_urls_standard : String | Nil = nil, pay_now_name : String | Nil = nil, pay_now_redirect_url : String | Nil = nil, pay_over_time_asset_urls_descriptive : String | Nil = nil, pay_over_time_asset_urls_standard : String | Nil = nil, pay_over_time_name : String | Nil = nil, pay_over_time_redirect_url : String | Nil = nil, payment_method_categories : String | Nil = nil, purchase_country : String | Nil = nil, purchase_type : String | Nil = nil, redirect_url : String | Nil = nil, shipping_delay : Int64 | Nil = nil, shipping_first_name : String | Nil = nil, shipping_last_name : String | 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.
- #background_image_url : String | Nil
-
#background_image_url=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #client_token : String | Nil
-
#client_token=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #client_token_present=(client_token_present : Bool)
- #client_token_present? : Bool
- #first_name : String | Nil
-
#first_name=(new_value : String | 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.
- #last_name : String | Nil
-
#last_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #locale : String | Nil
-
#locale=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #logo_url : String | Nil
-
#logo_url=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #page_title : String | Nil
-
#page_title=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_later_asset_urls_descriptive : String | Nil
-
#pay_later_asset_urls_descriptive=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_later_asset_urls_standard : String | Nil
-
#pay_later_asset_urls_standard=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_later_name : String | Nil
-
#pay_later_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_later_redirect_url : String | Nil
-
#pay_later_redirect_url=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_now_asset_urls_descriptive : String | Nil
-
#pay_now_asset_urls_descriptive=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_now_asset_urls_standard : String | Nil
-
#pay_now_asset_urls_standard=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_now_name : String | Nil
-
#pay_now_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_now_redirect_url : String | Nil
-
#pay_now_redirect_url=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_over_time_asset_urls_descriptive : String | Nil
-
#pay_over_time_asset_urls_descriptive=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_over_time_asset_urls_standard : String | Nil
-
#pay_over_time_asset_urls_standard=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_over_time_name : String | Nil
-
#pay_over_time_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pay_over_time_redirect_url : String | Nil
-
#pay_over_time_redirect_url=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #payment_method_categories : String | Nil
-
#payment_method_categories=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #purchase_country : String | Nil
-
#purchase_country=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #purchase_type : String | Nil
-
#purchase_type=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #redirect_url : String | Nil
-
#redirect_url=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #shipping_delay : Int64 | Nil
-
#shipping_delay=(new_value : Int64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #shipping_first_name : String | Nil
-
#shipping_first_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #shipping_last_name : String | Nil
-
#shipping_last_name=(new_value : String | 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
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] background_image_url Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] client_token Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] first_name 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] last_name 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] locale Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] logo_url Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] page_title Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_later_asset_urls_descriptive Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_later_asset_urls_standard Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_later_name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_later_redirect_url Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_now_asset_urls_descriptive Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_now_asset_urls_standard Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_now_name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_now_redirect_url Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_over_time_asset_urls_descriptive Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_over_time_asset_urls_standard Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_over_time_name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pay_over_time_redirect_url Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] payment_method_categories Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] purchase_country Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] purchase_type Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] redirect_url Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] shipping_delay Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] shipping_first_name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] shipping_last_name Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid