Class: Peddler::APIs::FulfillmentInbound20240320::Incentive
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInbound20240320::Incentive
- Defined in:
- sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs
Instance Attribute Summary collapse
-
#description ⇒ String
readonly
Returns the value of attribute description.
-
#target ⇒ String
readonly
Returns the value of attribute target.
-
#type ⇒ String
readonly
Returns the value of attribute type.
-
#value ⇒ Peddler::Money
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :description, :target, :type, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Incentive
Instance Method Summary collapse
-
#members ⇒ [ :description, :target, :type, :value ]
-
#to_h ⇒ { description: String, target: String, type: String, value: Peddler::Money }
Instance Attribute Details
#description ⇒ String (readonly)
Returns the value of attribute description.
894 895 896 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 894 def description @description end |
#target ⇒ String (readonly)
Returns the value of attribute target.
895 896 897 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 895 def target @target end |
#type ⇒ String (readonly)
Returns the value of attribute type.
896 897 898 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 896 def type @type end |
#value ⇒ Peddler::Money (readonly)
Returns the value of attribute value.
897 898 899 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 897 def value @value end |
Class Method Details
.[](description:, target:, type:, value:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Incentive .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FulfillmentInbound20240320::Incentive
887 888 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 887
def self.[]: (description: String, target: String, type: String, value: Peddler::Money) -> Peddler::APIs::FulfillmentInbound20240320::Incentive
| (String, String, String, Peddler::Money) -> Peddler::APIs::FulfillmentInbound20240320::Incentive
|
.members ⇒ [ :description, :target, :type, :value ]
890 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 890
def self.members: () -> [ :description, :target, :type, :value ]
|
.new(description:, target:, type:, value:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Incentive .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FulfillmentInbound20240320::Incentive
885 886 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 885
def self.new: (description: String, target: String, type: String, value: Peddler::Money) -> Peddler::APIs::FulfillmentInbound20240320::Incentive
| (String, String, String, Peddler::Money) -> Peddler::APIs::FulfillmentInbound20240320::Incentive
|
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Incentive
892 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 892
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::Incentive
|
Instance Method Details
#members ⇒ [ :description, :target, :type, :value ]
899 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 899
def members: () -> [ :description, :target, :type, :value ]
|
#to_h ⇒ { description: String, target: String, type: String, value: Peddler::Money }
900 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 900
def to_h: () -> { description: String, target: String, type: String, value: Peddler::Money }
|