Class: Peddler::APIs::MerchantFulfillmentV0::Label

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

#custom_text_for_labelString? (readonly)

Returns the value of attribute custom_text_for_label.

Returns:

  • (String, nil)


531
532
533
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 531

def custom_text_for_label
  @custom_text_for_label
end

#dimensionsPeddler::APIs::MerchantFulfillmentV0::LabelDimensions (readonly)

Returns the value of attribute dimensions.



532
533
534
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 532

def dimensions
  @dimensions
end

#file_contentsPeddler::APIs::MerchantFulfillmentV0::FileContents (readonly)

Returns the value of attribute file_contents.



533
534
535
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 533

def file_contents
  @file_contents
end

#label_formatString? (readonly)

Returns the value of attribute label_format.

Returns:

  • (String, nil)


534
535
536
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 534

def label_format
  @label_format
end

#standard_id_for_labelString? (readonly)

Returns the value of attribute standard_id_for_label.

Returns:

  • (String, nil)


535
536
537
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 535

def standard_id_for_label
  @standard_id_for_label
end

Class Method Details

.[](dimensions:, file_contents:, custom_text_for_label:, label_format:, standard_id_for_label:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Label .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::MerchantFulfillmentV0::Label

Overloads:



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

def self.[]: (dimensions: Peddler::APIs::MerchantFulfillmentV0::LabelDimensions, file_contents: Peddler::APIs::MerchantFulfillmentV0::FileContents, ?custom_text_for_label: String?, ?label_format: String?, ?standard_id_for_label: String?) -> Peddler::APIs::MerchantFulfillmentV0::Label
| (Peddler::APIs::MerchantFulfillmentV0::LabelDimensions, Peddler::APIs::MerchantFulfillmentV0::FileContents, String?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::Label

.members[ :dimensions, :file_contents, :custom_text_for_label, :label_format, :standard_id_for_label ]

Returns:

  • ([ :dimensions, :file_contents, :custom_text_for_label, :label_format, :standard_id_for_label ])


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

def self.members: () -> [ :dimensions, :file_contents, :custom_text_for_label, :label_format, :standard_id_for_label ]

.new(dimensions:, file_contents:, custom_text_for_label:, label_format:, standard_id_for_label:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Label .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::MerchantFulfillmentV0::Label

Overloads:



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

def self.new: (dimensions: Peddler::APIs::MerchantFulfillmentV0::LabelDimensions, file_contents: Peddler::APIs::MerchantFulfillmentV0::FileContents, ?custom_text_for_label: String?, ?label_format: String?, ?standard_id_for_label: String?) -> Peddler::APIs::MerchantFulfillmentV0::Label
| (Peddler::APIs::MerchantFulfillmentV0::LabelDimensions, Peddler::APIs::MerchantFulfillmentV0::FileContents, String?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::Label

.parsePeddler::APIs::MerchantFulfillmentV0::Label

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :dimensions, :file_contents, :custom_text_for_label, :label_format, :standard_id_for_label ]

Returns:

  • ([ :dimensions, :file_contents, :custom_text_for_label, :label_format, :standard_id_for_label ])


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

def members: () -> [ :dimensions, :file_contents, :custom_text_for_label, :label_format, :standard_id_for_label ]

#to_h{ dimensions: Peddler::APIs::MerchantFulfillmentV0::LabelDimensions, file_contents: Peddler::APIs::MerchantFulfillmentV0::FileContents, custom_text_for_label: String?, label_format: String?, standard_id_for_label: String? }

Returns:



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

def to_h: () -> { dimensions: Peddler::APIs::MerchantFulfillmentV0::LabelDimensions, file_contents: Peddler::APIs::MerchantFulfillmentV0::FileContents, custom_text_for_label: String?, label_format: String?, standard_id_for_label: String? }