Class: PagSeguro::CreditCardTransactionRequest
- Inherits:
-
TransactionRequest
- Object
- TransactionRequest
- PagSeguro::CreditCardTransactionRequest
- Defined in:
- lib/pagseguro/credit_card_transaction_request.rb
Instance Attribute Summary collapse
-
#billing_address ⇒ Object
Get billing address info.
-
#credit_card_token ⇒ Object
Set credit card token.
-
#holder ⇒ Object
Get credit card holder info.
-
#installment ⇒ Object
Get installment info.
Attributes inherited from TransactionRequest
#code, #created_at, #currency, #discount_amount, #errors, #extra_amount, #extra_params, #gross_amount, #installment_count, #net_amount, #notification_url, #payment_link, #payment_mode, #primary_receiver, #receivers, #reference, #sender, #shipping, #status, #type_id, #updated_at
Attributes included from Extensions::Credentiable
Instance Method Summary collapse
-
#payment_method ⇒ Object
Get the payment_method.
Methods inherited from TransactionRequest
#create, #items, #update_attributes
Methods included from Extensions::EnsureType
Methods included from Extensions::MassAssignment
Instance Attribute Details
#billing_address ⇒ Object
Get billing address info.
14 15 16 |
# File 'lib/pagseguro/credit_card_transaction_request.rb', line 14 def billing_address @billing_address end |
#credit_card_token ⇒ Object
Set credit card token. Required for credit card payment method.
5 6 7 |
# File 'lib/pagseguro/credit_card_transaction_request.rb', line 5 def credit_card_token @credit_card_token end |
#holder ⇒ Object
Get credit card holder info.
11 12 13 |
# File 'lib/pagseguro/credit_card_transaction_request.rb', line 11 def holder @holder end |
#installment ⇒ Object
Get installment info.
8 9 10 |
# File 'lib/pagseguro/credit_card_transaction_request.rb', line 8 def installment @installment end |
Instance Method Details
#payment_method ⇒ Object
Get the payment_method.
17 18 19 |
# File 'lib/pagseguro/credit_card_transaction_request.rb', line 17 def payment_method "creditCard" end |