Class: Iyzi::PkiBuilders::PaymentAuth
- Inherits:
-
Iyzi::PkiBuilder
- Object
- Iyzi::PkiBuilder
- Iyzi::PkiBuilders::PaymentAuth
- Defined in:
- lib/iyzi/pki_builders/payment_auth.rb
Constant Summary collapse
- ATTRIBUTES_ORDER =
%w{ locale conversationId price paidPrice installment paymentChannel basketId paymentGroup paymentCard buyer shippingAddress billingAddress basketItems paymentSource }.freeze
- TYPE_CAST =
{ price: 'add_price', paidPrice: 'add_price', paymentCard: 'add_payment_card', buyer: 'add_buyer', shippingAddress: 'add_address', billingAddress: 'add_address', basketItems: 'add_basket_items' }.freeze
Constants inherited from Iyzi::PkiBuilder
Iyzi::PkiBuilder::DEFAULT_ADD_METHOD
Instance Attribute Summary
Attributes inherited from Iyzi::PkiBuilder
Instance Method Summary collapse
-
#initialize(values = {}) ⇒ PaymentAuth
constructor
A new instance of PaymentAuth.
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 = {}) ⇒ PaymentAuth
Returns a new instance of PaymentAuth.
31 32 33 |
# File 'lib/iyzi/pki_builders/payment_auth.rb', line 31 def initialize(values = {}) super(values, ATTRIBUTES_ORDER, TYPE_CAST) end |