Class: Peddler::APIs::FinancesV0::AdjustmentEvent

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#adjustment_amountPeddler::Money? (readonly)

Returns the value of attribute adjustment_amount.

Returns:



37
38
39
# File 'sig/peddler/apis/finances_v0.rbs', line 37

def adjustment_amount
  @adjustment_amount
end

#adjustment_item_listArray[Peddler::APIs::FinancesV0::AdjustmentItem]? (readonly)

Returns the value of attribute adjustment_item_list.



38
39
40
# File 'sig/peddler/apis/finances_v0.rbs', line 38

def adjustment_item_list
  @adjustment_item_list
end

#adjustment_typeString? (readonly)

Returns the value of attribute adjustment_type.

Returns:

  • (String, nil)


39
40
41
# File 'sig/peddler/apis/finances_v0.rbs', line 39

def adjustment_type
  @adjustment_type
end

#posted_dateString? (readonly)

Returns the value of attribute posted_date.

Returns:

  • (String, nil)


40
41
42
# File 'sig/peddler/apis/finances_v0.rbs', line 40

def posted_date
  @posted_date
end

#store_nameString? (readonly)

Returns the value of attribute store_name.

Returns:

  • (String, nil)


41
42
43
# File 'sig/peddler/apis/finances_v0.rbs', line 41

def store_name
  @store_name
end

Class Method Details

.[](adjustment_amount:, adjustment_item_list:, adjustment_type:, posted_date:, store_name:) ⇒ Peddler::APIs::FinancesV0::AdjustmentEvent .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::FinancesV0::AdjustmentEvent

Overloads:



30
31
# File 'sig/peddler/apis/finances_v0.rbs', line 30

def self.[]: (?adjustment_amount: Peddler::Money?, ?adjustment_item_list: Array[Peddler::APIs::FinancesV0::AdjustmentItem]?, ?adjustment_type: String?, ?posted_date: String?, ?store_name: String?) -> Peddler::APIs::FinancesV0::AdjustmentEvent
| (Peddler::Money?, Array[Peddler::APIs::FinancesV0::AdjustmentItem]?, String?, String?, String?) -> Peddler::APIs::FinancesV0::AdjustmentEvent

.members[ :adjustment_amount, :adjustment_item_list, :adjustment_type, :posted_date, :store_name ]

Returns:

  • ([ :adjustment_amount, :adjustment_item_list, :adjustment_type, :posted_date, :store_name ])


33
# File 'sig/peddler/apis/finances_v0.rbs', line 33

def self.members: () -> [ :adjustment_amount, :adjustment_item_list, :adjustment_type, :posted_date, :store_name ]

.new(adjustment_amount:, adjustment_item_list:, adjustment_type:, posted_date:, store_name:) ⇒ Peddler::APIs::FinancesV0::AdjustmentEvent .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::FinancesV0::AdjustmentEvent

Overloads:



28
29
# File 'sig/peddler/apis/finances_v0.rbs', line 28

def self.new: (?adjustment_amount: Peddler::Money?, ?adjustment_item_list: Array[Peddler::APIs::FinancesV0::AdjustmentItem]?, ?adjustment_type: String?, ?posted_date: String?, ?store_name: String?) -> Peddler::APIs::FinancesV0::AdjustmentEvent
| (Peddler::Money?, Array[Peddler::APIs::FinancesV0::AdjustmentItem]?, String?, String?, String?) -> Peddler::APIs::FinancesV0::AdjustmentEvent

.parsePeddler::APIs::FinancesV0::AdjustmentEvent

Parameters:

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

Returns:



35
# File 'sig/peddler/apis/finances_v0.rbs', line 35

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

Instance Method Details

#members[ :adjustment_amount, :adjustment_item_list, :adjustment_type, :posted_date, :store_name ]

Returns:

  • ([ :adjustment_amount, :adjustment_item_list, :adjustment_type, :posted_date, :store_name ])


43
# File 'sig/peddler/apis/finances_v0.rbs', line 43

def members: () -> [ :adjustment_amount, :adjustment_item_list, :adjustment_type, :posted_date, :store_name ]

#to_h{ adjustment_amount: Peddler::Money?, adjustment_item_list: Array[Peddler::APIs::FinancesV0::AdjustmentItem]?, adjustment_type: String?, posted_date: String?, store_name: String? }

Returns:



44
# File 'sig/peddler/apis/finances_v0.rbs', line 44

def to_h: () -> { adjustment_amount: Peddler::Money?, adjustment_item_list: Array[Peddler::APIs::FinancesV0::AdjustmentItem]?, adjustment_type: String?, posted_date: String?, store_name: String? }