Class: Peddler::APIs::OrdersV0::OrderBuyerInfo

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amazon_order_idString (readonly)

Returns the value of attribute amazon_order_id.

Returns:

  • (String)


652
653
654
# File 'sig/peddler/apis/orders_v0.rbs', line 652

def amazon_order_id
  @amazon_order_id
end

#buyer_countyString? (readonly)

Returns the value of attribute buyer_county.

Returns:

  • (String, nil)


653
654
655
# File 'sig/peddler/apis/orders_v0.rbs', line 653

def buyer_county
  @buyer_county
end

#buyer_nameString? (readonly)

Returns the value of attribute buyer_name.

Returns:

  • (String, nil)


654
655
656
# File 'sig/peddler/apis/orders_v0.rbs', line 654

def buyer_name
  @buyer_name
end

#buyer_tax_infoPeddler::APIs::OrdersV0::BuyerTaxInfo? (readonly)

Returns the value of attribute buyer_tax_info.



655
656
657
# File 'sig/peddler/apis/orders_v0.rbs', line 655

def buyer_tax_info
  @buyer_tax_info
end

#purchase_order_numberString? (readonly)

Returns the value of attribute purchase_order_number.

Returns:

  • (String, nil)


656
657
658
# File 'sig/peddler/apis/orders_v0.rbs', line 656

def purchase_order_number
  @purchase_order_number
end

Class Method Details

.[](amazon_order_id:, buyer_county:, buyer_name:, buyer_tax_info:, purchase_order_number:) ⇒ Peddler::APIs::OrdersV0::OrderBuyerInfo .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::OrdersV0::OrderBuyerInfo

Overloads:



645
646
# File 'sig/peddler/apis/orders_v0.rbs', line 645

def self.[]: (amazon_order_id: String, ?buyer_county: String?, ?buyer_name: String?, ?buyer_tax_info: Peddler::APIs::OrdersV0::BuyerTaxInfo?, ?purchase_order_number: String?) -> Peddler::APIs::OrdersV0::OrderBuyerInfo
| (String, String?, String?, Peddler::APIs::OrdersV0::BuyerTaxInfo?, String?) -> Peddler::APIs::OrdersV0::OrderBuyerInfo

.members[ :amazon_order_id, :buyer_county, :buyer_name, :buyer_tax_info, :purchase_order_number ]

Returns:

  • ([ :amazon_order_id, :buyer_county, :buyer_name, :buyer_tax_info, :purchase_order_number ])


648
# File 'sig/peddler/apis/orders_v0.rbs', line 648

def self.members: () -> [ :amazon_order_id, :buyer_county, :buyer_name, :buyer_tax_info, :purchase_order_number ]

.new(amazon_order_id:, buyer_county:, buyer_name:, buyer_tax_info:, purchase_order_number:) ⇒ Peddler::APIs::OrdersV0::OrderBuyerInfo .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::OrdersV0::OrderBuyerInfo

Overloads:



643
644
# File 'sig/peddler/apis/orders_v0.rbs', line 643

def self.new: (amazon_order_id: String, ?buyer_county: String?, ?buyer_name: String?, ?buyer_tax_info: Peddler::APIs::OrdersV0::BuyerTaxInfo?, ?purchase_order_number: String?) -> Peddler::APIs::OrdersV0::OrderBuyerInfo
| (String, String?, String?, Peddler::APIs::OrdersV0::BuyerTaxInfo?, String?) -> Peddler::APIs::OrdersV0::OrderBuyerInfo

.parsePeddler::APIs::OrdersV0::OrderBuyerInfo

Parameters:

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

Returns:



650
# File 'sig/peddler/apis/orders_v0.rbs', line 650

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

Instance Method Details

#members[ :amazon_order_id, :buyer_county, :buyer_name, :buyer_tax_info, :purchase_order_number ]

Returns:

  • ([ :amazon_order_id, :buyer_county, :buyer_name, :buyer_tax_info, :purchase_order_number ])


658
# File 'sig/peddler/apis/orders_v0.rbs', line 658

def members: () -> [ :amazon_order_id, :buyer_county, :buyer_name, :buyer_tax_info, :purchase_order_number ]

#to_h{ amazon_order_id: String, buyer_county: String?, buyer_name: String?, buyer_tax_info: Peddler::APIs::OrdersV0::BuyerTaxInfo?, purchase_order_number: String? }

Returns:



659
# File 'sig/peddler/apis/orders_v0.rbs', line 659

def to_h: () -> { amazon_order_id: String, buyer_county: String?, buyer_name: String?, buyer_tax_info: Peddler::APIs::OrdersV0::BuyerTaxInfo?, purchase_order_number: String? }