Skip to content

Commit 790c7f2

Browse files
author
Andrei Motinga
committed
add missing attributes
contact_email, account_identifier, port_type, port_out_pin
1 parent d08f6e5 commit 790c7f2

1 file changed

Lines changed: 21 additions & 5 deletions

File tree

lib/phaxio/resources/port_order.rb

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ class PortOrder < Resource
1414
# @return [String] the E.164 contact number.
1515
# @!attribute contact_number
1616

17+
# @return [String] The email address for the order.
18+
# @!attribute contact_email
19+
20+
# @return [String] The identifier for the account associated with the numbers.
21+
# @!attribute account_identifier
22+
23+
# @return [String] Type of numbers to be ported. Either "business" or "residential".
24+
# @!attribute port_type
25+
26+
# @return [String] The PIN or password needed to port out the numbers.
27+
# @!attribute port_out_pin
28+
1729
# @return [String] the name associated with the account.
1830
# @!attribute name_on_account
1931

@@ -31,7 +43,7 @@ class PortOrder < Resource
3143

3244
# @return [String] the second billing address line.
3345
# @!attribute billing_address2
34-
46+
3547
# @return [String] the billing address city.
3648
# @!attribute billing_city
3749

@@ -40,7 +52,7 @@ class PortOrder < Resource
4052

4153
# @return [String] the billing address zip.
4254
# @!attribute billing_zip
43-
55+
4456
# @return [String] the electronic signature used to sign the order.
4557
# @!attribute esig
4658

@@ -53,9 +65,9 @@ class PortOrder < Resource
5365
# @!attribute legal_agreement
5466

5567
has_normal_attributes %w[
56-
id contact_number name_on_account name_of_business provider_name
57-
billing_number billing_address1 billing_address2
58-
billing_city billing_state billing_zip esig legal_agreement
68+
id contact_number contact_email name_on_account name_of_business provider_name
69+
billing_number billing_address1 billing_address2 account_identifier
70+
billing_city billing_state billing_zip esig legal_agreement port_type port_out_pin
5971
status
6072
]
6173

@@ -105,6 +117,10 @@ def list params = {}
105117
# Any parameters to send to Phaxio.
106118
# - *port_numbers* [Array<String>] - Numbers to port.
107119
# - *contact_number* [String] - Number to contact about the port.
120+
# - *contact_email* [String] - The email address for the order.
121+
# - *account_identifier* [String] - The identifier for the account associated with the numbers.
122+
# - *port_type* [String] - Type of numbers to be ported. Either "business" or "residential".
123+
# - *port_out_pin* [String] - The PIN or password needed to port out the numbers.
108124
# - *name_on_account* [String] - Name on the account for the port.
109125
# - *name_of_business* [String] - Name of business associated with the port.
110126
# - *provider_name* [String] - Name of provider for the port.

0 commit comments

Comments
 (0)