Class: Peddler::APIs::ShipmentInvoicingV0::PaymentInformation

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/shipment_invoicing_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#acquirer_idString? (readonly)

Returns the value of attribute acquirer_id.

Returns:

  • (String, nil)


133
134
135
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 133

def acquirer_id
  @acquirer_id
end

#authorization_codeString? (readonly)

Returns the value of attribute authorization_code.

Returns:

  • (String, nil)


134
135
136
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 134

def authorization_code
  @authorization_code
end

#card_brandString? (readonly)

Returns the value of attribute card_brand.

Returns:

  • (String, nil)


135
136
137
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 135

def card_brand
  @card_brand
end

#payment_methodString? (readonly)

Returns the value of attribute payment_method.

Returns:

  • (String, nil)


136
137
138
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 136

def payment_method
  @payment_method
end

#payment_valuePeddler::Money? (readonly)

Returns the value of attribute payment_value.

Returns:



137
138
139
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 137

def payment_value
  @payment_value
end

Class Method Details

.[](acquirer_id:, authorization_code:, card_brand:, payment_method:, payment_value:) ⇒ Peddler::APIs::ShipmentInvoicingV0::PaymentInformation .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ShipmentInvoicingV0::PaymentInformation

Overloads:



126
127
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 126

def self.[]: (?acquirer_id: String?, ?authorization_code: String?, ?card_brand: String?, ?payment_method: String?, ?payment_value: Peddler::Money?) -> Peddler::APIs::ShipmentInvoicingV0::PaymentInformation
| (String?, String?, String?, String?, Peddler::Money?) -> Peddler::APIs::ShipmentInvoicingV0::PaymentInformation

.members[ :acquirer_id, :authorization_code, :card_brand, :payment_method, :payment_value ]

Returns:

  • ([ :acquirer_id, :authorization_code, :card_brand, :payment_method, :payment_value ])


129
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 129

def self.members: () -> [ :acquirer_id, :authorization_code, :card_brand, :payment_method, :payment_value ]

.new(acquirer_id:, authorization_code:, card_brand:, payment_method:, payment_value:) ⇒ Peddler::APIs::ShipmentInvoicingV0::PaymentInformation .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ShipmentInvoicingV0::PaymentInformation

Overloads:



124
125
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 124

def self.new: (?acquirer_id: String?, ?authorization_code: String?, ?card_brand: String?, ?payment_method: String?, ?payment_value: Peddler::Money?) -> Peddler::APIs::ShipmentInvoicingV0::PaymentInformation
| (String?, String?, String?, String?, Peddler::Money?) -> Peddler::APIs::ShipmentInvoicingV0::PaymentInformation

.parsePeddler::APIs::ShipmentInvoicingV0::PaymentInformation

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



131
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 131

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShipmentInvoicingV0::PaymentInformation

Instance Method Details

#members[ :acquirer_id, :authorization_code, :card_brand, :payment_method, :payment_value ]

Returns:

  • ([ :acquirer_id, :authorization_code, :card_brand, :payment_method, :payment_value ])


139
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 139

def members: () -> [ :acquirer_id, :authorization_code, :card_brand, :payment_method, :payment_value ]

#to_h{ acquirer_id: String?, authorization_code: String?, card_brand: String?, payment_method: String?, payment_value: Peddler::Money? }

Returns:

  • ({ acquirer_id: String?, authorization_code: String?, card_brand: String?, payment_method: String?, payment_value: Peddler::Money? })


140
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 140

def to_h: () -> { acquirer_id: String?, authorization_code: String?, card_brand: String?, payment_method: String?, payment_value: Peddler::Money? }