Class: Peddler::APIs::VendorDirectFulfillmentOrders20211228::Address

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

#address_line1String (readonly)

Returns the value of attribute address_line1.

Returns:

  • (String)


31
32
33
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 31

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


32
33
34
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 32

def address_line2
  @address_line2
end

#address_line3String? (readonly)

Returns the value of attribute address_line3.

Returns:

  • (String, nil)


33
34
35
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 33

def address_line3
  @address_line3
end

#attentionString? (readonly)

Returns the value of attribute attention.

Returns:

  • (String, nil)


34
35
36
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 34

def attention
  @attention
end

#cityString? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


35
36
37
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 35

def city
  @city
end

#country_codeString (readonly)

Returns the value of attribute country_code.

Returns:

  • (String)


36
37
38
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 36

def country_code
  @country_code
end

#countyString? (readonly)

Returns the value of attribute county.

Returns:

  • (String, nil)


37
38
39
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 37

def county
  @county
end

#districtString? (readonly)

Returns the value of attribute district.

Returns:

  • (String, nil)


38
39
40
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 38

def district
  @district
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


39
40
41
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 39

def name
  @name
end

#phoneString? (readonly)

Returns the value of attribute phone.

Returns:

  • (String, nil)


40
41
42
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 40

def phone
  @phone
end

#postal_codeString? (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String, nil)


41
42
43
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 41

def postal_code
  @postal_code
end

#state_or_regionString (readonly)

Returns the value of attribute state_or_region.

Returns:

  • (String)


42
43
44
# File 'sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs', line 42

def state_or_region
  @state_or_region
end

Class Method Details

.[](address_line1:, country_code:, name:, state_or_region:, address_line2:, address_line3:, attention:, city:, county:, district:, phone:, postal_code:) ⇒ Peddler::APIs::VendorDirectFulfillmentOrders20211228::Address .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ⇒ Peddler::APIs::VendorDirectFulfillmentOrders20211228::Address

Overloads:



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

def self.[]: (address_line1: String, country_code: String, name: String, state_or_region: String, ?address_line2: String?, ?address_line3: String?, ?attention: String?, ?city: String?, ?county: String?, ?district: String?, ?phone: String?, ?postal_code: String?) -> Peddler::APIs::VendorDirectFulfillmentOrders20211228::Address
| (String, String, String, String, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::VendorDirectFulfillmentOrders20211228::Address

.members[ :address_line1, :country_code, :name, :state_or_region, :address_line2, :address_line3, :attention, :city, :county, :district, :phone, :postal_code ]

Returns:

  • ([ :address_line1, :country_code, :name, :state_or_region, :address_line2, :address_line3, :attention, :city, :county, :district, :phone, :postal_code ])


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

def self.members: () -> [ :address_line1, :country_code, :name, :state_or_region, :address_line2, :address_line3, :attention, :city, :county, :district, :phone, :postal_code ]

.new(address_line1:, country_code:, name:, state_or_region:, address_line2:, address_line3:, attention:, city:, county:, district:, phone:, postal_code:) ⇒ Peddler::APIs::VendorDirectFulfillmentOrders20211228::Address .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ⇒ Peddler::APIs::VendorDirectFulfillmentOrders20211228::Address

Overloads:



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

def self.new: (address_line1: String, country_code: String, name: String, state_or_region: String, ?address_line2: String?, ?address_line3: String?, ?attention: String?, ?city: String?, ?county: String?, ?district: String?, ?phone: String?, ?postal_code: String?) -> Peddler::APIs::VendorDirectFulfillmentOrders20211228::Address
| (String, String, String, String, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::VendorDirectFulfillmentOrders20211228::Address

.parsePeddler::APIs::VendorDirectFulfillmentOrders20211228::Address

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :address_line1, :country_code, :name, :state_or_region, :address_line2, :address_line3, :attention, :city, :county, :district, :phone, :postal_code ]

Returns:

  • ([ :address_line1, :country_code, :name, :state_or_region, :address_line2, :address_line3, :attention, :city, :county, :district, :phone, :postal_code ])


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

def members: () -> [ :address_line1, :country_code, :name, :state_or_region, :address_line2, :address_line3, :attention, :city, :county, :district, :phone, :postal_code ]

#to_h{ address_line1: String, country_code: String, name: String, state_or_region: String, address_line2: String?, address_line3: String?, attention: String?, city: String?, county: String?, district: String?, phone: String?, postal_code: String? }

Returns:

  • ({ address_line1: String, country_code: String, name: String, state_or_region: String, address_line2: String?, address_line3: String?, attention: String?, city: String?, county: String?, district: String?, phone: String?, postal_code: String? })


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

def to_h: () -> { address_line1: String, country_code: String, name: String, state_or_region: String, address_line2: String?, address_line3: String?, attention: String?, city: String?, county: String?, district: String?, phone: String?, postal_code: String? }