Class: Iyzi::PkiBuilders::InstallmentInfo

Inherits:
Iyzi::PkiBuilder show all
Defined in:
lib/iyzi/pki_builders/installment_info.rb

Constant Summary collapse

ATTRIBUTES_ORDER =
%w{
  locale
  conversationId
  binNumber
  price
}.freeze
TYPE_CAST =
{
  price: 'add_price'
}.freeze

Constants inherited from Iyzi::PkiBuilder

Iyzi::PkiBuilder::DEFAULT_ADD_METHOD

Instance Attribute Summary

Attributes inherited from Iyzi::PkiBuilder

#ordered_keys, #params

Instance Method Summary collapse

Methods inherited from Iyzi::PkiBuilder

#add, #add_address, #add_array, #add_basket_items, #add_buyer, #add_date, #add_payment_card, #add_price, #add_store_card, #convert_str, #ordered_params, #parse_date, #prepare_request_string, #request_string

Constructor Details

#initialize(values = {}) ⇒ InstallmentInfo

Returns a new instance of InstallmentInfo.



15
16
17
# File 'lib/iyzi/pki_builders/installment_info.rb', line 15

def initialize(values = {})
  super(values, ATTRIBUTES_ORDER, TYPE_CAST)
end