Class: CheckoutSdk::Payments::WeChatPaySource

Inherits:
PaymentSource show all
Defined in:
lib/checkout_sdk/payments/source/apm/we_chat_pay_source.rb

Instance Attribute Summary collapse

Attributes inherited from PaymentSource

#type

Instance Method Summary collapse

Constructor Details

#initializeWeChatPaySource

Returns a new instance of WeChatPaySource.



10
11
12
# File 'lib/checkout_sdk/payments/source/apm/we_chat_pay_source.rb', line 10

def initialize
  super CheckoutSdk::Common::PaymentSourceType::WECHATPAY
end

Instance Attribute Details

#billing_addressCheckoutSdk::Common::Address



7
8
9
10
11
12
13
# File 'lib/checkout_sdk/payments/source/apm/we_chat_pay_source.rb', line 7

class WeChatPaySource < PaymentSource
  attr_accessor :billing_address

  def initialize
    super CheckoutSdk::Common::PaymentSourceType::WECHATPAY
  end
end