Class: GlobalCollect::RequestModels::InsertOrderWithPayment::RecurringHostedCreditCardOnlinePayment

Inherits:
HostedCreditCardOnlinePayment show all
Defined in:
lib/global_collect/request_models/insert_order_with_payment/recurring_hosted_credit_card_online_payment.rb

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from HostedCreditCardOnlinePayment

#fields, #suggested_response_mixins

Methods inherited from CreditCardOnlinePayment

#fields, #suggested_response_mixins

Methods inherited from Payment

#fields

Methods inherited from Base

#[], #[]=, #fields, #suggested_response_mixins, #validate

Constructor Details

#initialize(attributes) ⇒ RecurringHostedCreditCardOnlinePayment

Returns a new instance of RecurringHostedCreditCardOnlinePayment.



3
4
5
6
7
# File 'lib/global_collect/request_models/insert_order_with_payment/recurring_hosted_credit_card_online_payment.rb', line 3

def initialize(attributes)
  super(attributes)
  # WDL Appendix F specifies the recurring payment CVVINDICATOR is '8'
  @attributes["CVVINDICATOR"] = "8"
end