Class: Peddler::APIs::VendorDirectFulfillmentOrders20211228::GiftDetails

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#gift_messageString? (readonly)

Returns the value of attribute gift_message.

Returns:

  • (String, nil)


108
109
110
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 108

def gift_message
  @gift_message
end

#gift_wrap_idString? (readonly)

Returns the value of attribute gift_wrap_id.

Returns:

  • (String, nil)


109
110
111
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 109

def gift_wrap_id
  @gift_wrap_id
end

Class Method Details

.[](gift_message:, gift_wrap_id:) ⇒ Peddler::APIs::VendorDirectFulfillmentOrders20211228::GiftDetails .[](arg0, arg1) ⇒ Peddler::APIs::VendorDirectFulfillmentOrders20211228::GiftDetails

Overloads:



101
102
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 101

def self.[]: (?gift_message: String?, ?gift_wrap_id: String?) -> Peddler::APIs::VendorDirectFulfillmentOrders20211228::GiftDetails
| (String?, String?) -> Peddler::APIs::VendorDirectFulfillmentOrders20211228::GiftDetails

.members[ :gift_message, :gift_wrap_id ]

Returns:

  • ([ :gift_message, :gift_wrap_id ])


104
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 104

def self.members: () -> [ :gift_message, :gift_wrap_id ]

.new(gift_message:, gift_wrap_id:) ⇒ Peddler::APIs::VendorDirectFulfillmentOrders20211228::GiftDetails .new(arg0, arg1) ⇒ Peddler::APIs::VendorDirectFulfillmentOrders20211228::GiftDetails

Overloads:



99
100
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 99

def self.new: (?gift_message: String?, ?gift_wrap_id: String?) -> Peddler::APIs::VendorDirectFulfillmentOrders20211228::GiftDetails
| (String?, String?) -> Peddler::APIs::VendorDirectFulfillmentOrders20211228::GiftDetails

.parsePeddler::APIs::VendorDirectFulfillmentOrders20211228::GiftDetails

Parameters:

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

Returns:



106
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 106

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

Instance Method Details

#members[ :gift_message, :gift_wrap_id ]

Returns:

  • ([ :gift_message, :gift_wrap_id ])


111
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 111

def members: () -> [ :gift_message, :gift_wrap_id ]

#to_h{ gift_message: String?, gift_wrap_id: String? }

Returns:

  • ({ gift_message: String?, gift_wrap_id: String? })


112
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 112

def to_h: () -> { gift_message: String?, gift_wrap_id: String? }