Class: Peddler::APIs::FulfillmentInbound20240320::Address

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/fulfillment_inbound_2024_03_20.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)


14
15
16
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 14

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


15
16
17
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 15

def address_line2
  @address_line2
end

#cityString (readonly)

Returns the value of attribute city.

Returns:

  • (String)


16
17
18
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 16

def city
  @city
end

#company_nameString? (readonly)

Returns the value of attribute company_name.

Returns:

  • (String, nil)


17
18
19
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 17

def company_name
  @company_name
end

#country_codeString (readonly)

Returns the value of attribute country_code.

Returns:

  • (String)


18
19
20
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 18

def country_code
  @country_code
end

#district_or_countyString? (readonly)

Returns the value of attribute district_or_county.

Returns:

  • (String, nil)


19
20
21
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 19

def district_or_county
  @district_or_county
end

#emailString? (readonly)

Returns the value of attribute email.

Returns:

  • (String, nil)


20
21
22
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 20

def email
  @email
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


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

def name
  @name
end

#phone_numberString? (readonly)

Returns the value of attribute phone_number.

Returns:

  • (String, nil)


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

def phone_number
  @phone_number
end

#postal_codeString (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String)


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

def postal_code
  @postal_code
end

#state_or_province_codeString? (readonly)

Returns the value of attribute state_or_province_code.

Returns:

  • (String, nil)


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

def state_or_province_code
  @state_or_province_code
end

Class Method Details

.[](address_line1:, city:, country_code:, name:, postal_code:, address_line2:, company_name:, district_or_county:, email:, phone_number:, state_or_province_code:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Address .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::FulfillmentInbound20240320::Address

Overloads:



7
8
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 7

def self.[]: (address_line1: String, city: String, country_code: String, name: String, postal_code: String, ?address_line2: String?, ?company_name: String?, ?district_or_county: String?, ?email: String?, ?phone_number: String?, ?state_or_province_code: String?) -> Peddler::APIs::FulfillmentInbound20240320::Address
| (String, String, String, String, String, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::FulfillmentInbound20240320::Address

.members[ :address_line1, :city, :country_code, :name, :postal_code, :address_line2, :company_name, :district_or_county, :email, :phone_number, :state_or_province_code ]

Returns:

  • ([ :address_line1, :city, :country_code, :name, :postal_code, :address_line2, :company_name, :district_or_county, :email, :phone_number, :state_or_province_code ])


10
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 10

def self.members: () -> [ :address_line1, :city, :country_code, :name, :postal_code, :address_line2, :company_name, :district_or_county, :email, :phone_number, :state_or_province_code ]

.new(address_line1:, city:, country_code:, name:, postal_code:, address_line2:, company_name:, district_or_county:, email:, phone_number:, state_or_province_code:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Address .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::FulfillmentInbound20240320::Address

Overloads:



5
6
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 5

def self.new: (address_line1: String, city: String, country_code: String, name: String, postal_code: String, ?address_line2: String?, ?company_name: String?, ?district_or_county: String?, ?email: String?, ?phone_number: String?, ?state_or_province_code: String?) -> Peddler::APIs::FulfillmentInbound20240320::Address
| (String, String, String, String, String, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::FulfillmentInbound20240320::Address

.parsePeddler::APIs::FulfillmentInbound20240320::Address

Parameters:

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

Returns:



12
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 12

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

Instance Method Details

#members[ :address_line1, :city, :country_code, :name, :postal_code, :address_line2, :company_name, :district_or_county, :email, :phone_number, :state_or_province_code ]

Returns:

  • ([ :address_line1, :city, :country_code, :name, :postal_code, :address_line2, :company_name, :district_or_county, :email, :phone_number, :state_or_province_code ])


26
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 26

def members: () -> [ :address_line1, :city, :country_code, :name, :postal_code, :address_line2, :company_name, :district_or_county, :email, :phone_number, :state_or_province_code ]

#to_h{ address_line1: String, city: String, country_code: String, name: String, postal_code: String, address_line2: String?, company_name: String?, district_or_county: String?, email: String?, phone_number: String?, state_or_province_code: String? }

Returns:

  • ({ address_line1: String, city: String, country_code: String, name: String, postal_code: String, address_line2: String?, company_name: String?, district_or_county: String?, email: String?, phone_number: String?, state_or_province_code: String? })


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

def to_h: () -> { address_line1: String, city: String, country_code: String, name: String, postal_code: String, address_line2: String?, company_name: String?, district_or_county: String?, email: String?, phone_number: String?, state_or_province_code: String? }