Class: Paymos::Order

Inherits:
Model
  • Object
show all
Defined in:
lib/paymos/models.rb,
sig/paymos.rbs

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

#[], deep_freeze, fields, from, #initialize, #to_h

Constructor Details

This class inherits a constructor from Paymos::Model

Instance Attribute Details

#amountString (readonly)

Returns the value of attribute amount.

Returns:

  • (String)


55
56
57
# File 'sig/paymos.rbs', line 55

def amount
  @amount
end

#client_idString? (readonly)

Returns the value of attribute client_id.

Returns:

  • (String, nil)


54
55
56
# File 'sig/paymos.rbs', line 54

def client_id
  @client_id
end

#currencyString (readonly)

Returns the value of attribute currency.

Returns:

  • (String)


56
57
58
# File 'sig/paymos.rbs', line 56

def currency
  @currency
end

#external_idString (readonly)

Returns the value of attribute external_id.

Returns:

  • (String)


53
54
55
# File 'sig/paymos.rbs', line 53

def external_id
  @external_id
end

#networkString? (readonly)

Returns the value of attribute network.

Returns:

  • (String, nil)


57
58
59
# File 'sig/paymos.rbs', line 57

def network
  @network
end