Class: PCPServerSDK::Models::ApplePayPaymentMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(display_name: nil, network: nil, type: nil, payment_pass: nil, billing_contact: nil) ⇒ ApplePayPaymentMethod

Returns a new instance of ApplePayPaymentMethod.



11
12
13
14
15
16
17
# File 'lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method.rb', line 11

def initialize(display_name: nil, network: nil, type: nil, payment_pass: nil, billing_contact: nil)
  @display_name = display_name
  @network = network
  @type = type
  @payment_pass = payment_pass
  @billing_contact = billing_contact
end

Instance Attribute Details

#billing_contactObject

Parameters:



9
10
11
# File 'lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method.rb', line 9

def billing_contact
  @billing_contact
end

#display_nameObject

Parameters:



9
10
11
# File 'lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method.rb', line 9

def display_name
  @display_name
end

#networkObject

Parameters:



9
10
11
# File 'lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method.rb', line 9

def network
  @network
end

#payment_passObject

Parameters:



9
10
11
# File 'lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method.rb', line 9

def payment_pass
  @payment_pass
end

#typeObject

Parameters:



9
10
11
# File 'lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method.rb', line 9

def type
  @type
end