Class: Dodopayments::Models::PaymentRetrieveLineItemsResponse::Item
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(amount: , items_id: , refundable_amount: , tax: , description: nil, name: nil) ⇒ Object
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# File 'lib/dodopayments/models/payment_retrieve_line_items_response.rb', line 22
class Item < Dodopayments::Internal::Type::BaseModel
required :amount, Integer
required :items_id, String
required :refundable_amount, Integer
required :tax, Integer
optional :description, String, nil?: true
optional :name, String, nil?: true
end
|
Instance Attribute Details
#amount ⇒ Integer
26
|
# File 'lib/dodopayments/models/payment_retrieve_line_items_response.rb', line 26
required :amount, Integer
|
#description ⇒ String?
46
|
# File 'lib/dodopayments/models/payment_retrieve_line_items_response.rb', line 46
optional :description, String, nil?: true
|
#items_id ⇒ String
31
|
# File 'lib/dodopayments/models/payment_retrieve_line_items_response.rb', line 31
required :items_id, String
|
#name ⇒ String?
51
|
# File 'lib/dodopayments/models/payment_retrieve_line_items_response.rb', line 51
optional :name, String, nil?: true
|
#refundable_amount ⇒ Integer
36
|
# File 'lib/dodopayments/models/payment_retrieve_line_items_response.rb', line 36
required :refundable_amount, Integer
|
#tax ⇒ Integer
41
|
# File 'lib/dodopayments/models/payment_retrieve_line_items_response.rb', line 41
required :tax, Integer
|