Class: Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#include_packing_slip_with_labelBoolean? (readonly)

Returns the value of attribute include_packing_slip_with_label.

Returns:

  • (Boolean, nil)


590
591
592
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 590

def include_packing_slip_with_label
  @include_packing_slip_with_label
end

#label_formatString? (readonly)

Returns the value of attribute label_format.

Returns:

  • (String, nil)


591
592
593
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 591

def label_format
  @label_format
end

Class Method Details

.[](include_packing_slip_with_label:, label_format:) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption .[](arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption

Overloads:



583
584
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 583

def self.[]: (?include_packing_slip_with_label: bool?, ?label_format: String?) -> Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption
| (bool?, String?) -> Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption

.members[ :include_packing_slip_with_label, :label_format ]

Returns:

  • ([ :include_packing_slip_with_label, :label_format ])


586
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 586

def self.members: () -> [ :include_packing_slip_with_label, :label_format ]

.new(include_packing_slip_with_label:, label_format:) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption .new(arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption

Overloads:



581
582
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 581

def self.new: (?include_packing_slip_with_label: bool?, ?label_format: String?) -> Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption
| (bool?, String?) -> Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption

.parsePeddler::APIs::MerchantFulfillmentV0::LabelFormatOption

Parameters:

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

Returns:



588
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 588

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

Instance Method Details

#include_packing_slip_with_label?Boolean

Returns:

  • (Boolean)


593
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 593

def include_packing_slip_with_label?: () -> bool

#members[ :include_packing_slip_with_label, :label_format ]

Returns:

  • ([ :include_packing_slip_with_label, :label_format ])


594
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 594

def members: () -> [ :include_packing_slip_with_label, :label_format ]

#to_h{ include_packing_slip_with_label: bool?, label_format: String? }

Returns:

  • ({ include_packing_slip_with_label: bool?, label_format: String? })


595
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 595

def to_h: () -> { include_packing_slip_with_label: bool?, label_format: String? }