class Stripe::SourceTypeKlarna

Included Modules

Defined in:

stripe/models/source_type_klarna.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(*, 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


[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 background_image_url : String | Nil #

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

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


[View source]
def client_token : String | Nil #

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

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


[View source]
def client_token_present=(client_token_present : Bool) #

[View source]
def client_token_present? : Bool #

[View source]
def first_name : String | Nil #

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

Custom attribute writer method checking allowed values (enum). @param [Object] first_name 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 last_name : String | Nil #

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

Custom attribute writer method checking allowed values (enum). @param [Object] last_name 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 locale : String | Nil #

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

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


[View source]
def logo_url : String | Nil #

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

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


[View source]
def page_title : String | Nil #

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

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


[View source]
def pay_later_asset_urls_descriptive : String | Nil #

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

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


[View source]
def pay_later_asset_urls_standard : String | Nil #

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

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


[View source]
def pay_later_name : String | Nil #

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

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


[View source]
def pay_later_redirect_url : String | Nil #

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

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


[View source]
def pay_now_asset_urls_descriptive : String | Nil #

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

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


[View source]
def pay_now_asset_urls_standard : String | Nil #

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

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


[View source]
def pay_now_name : String | Nil #

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

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


[View source]
def pay_now_redirect_url : String | Nil #

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

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


[View source]
def pay_over_time_asset_urls_descriptive : String | Nil #

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

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


[View source]
def pay_over_time_asset_urls_standard : String | Nil #

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

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


[View source]
def pay_over_time_name : String | Nil #

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

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


[View source]
def pay_over_time_redirect_url : String | Nil #

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

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


[View source]
def payment_method_categories : String | Nil #

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

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


[View source]
def purchase_country : String | Nil #

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

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


[View source]
def purchase_type : String | Nil #

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

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


[View source]
def redirect_url : String | Nil #

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

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


[View source]
def shipping_delay : Int64 | Nil #

[View source]
def shipping_delay=(new_value : Int64 | Nil) #

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


[View source]
def shipping_first_name : String | Nil #

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

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


[View source]
def shipping_last_name : String | Nil #

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

Custom attribute writer method checking allowed values (enum). @param [Object] shipping_last_name 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]