Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Latest Changes for v2019-10-10 #813

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/recurly/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ public function listAccountCreditPayments(string $account_id, array $options = [
* results correspond to your request.
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
* - $options['state'] (string): Invoice state.
* - $options['limit'] (int): Limit number of records 1-200.
* - $options['order'] (string): Sort order.
* - $options['sort'] (string): Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down Expand Up @@ -1394,6 +1395,7 @@ public function removeMeasuredUnit(string $measured_unit_id): \Recurly\Resources
* results correspond to your request.
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
* - $options['state'] (string): Invoice state.
* - $options['limit'] (int): Limit number of records 1-200.
* - $options['order'] (string): Sort order.
* - $options['sort'] (string): Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down Expand Up @@ -2352,6 +2354,7 @@ public function previewSubscriptionChange(string $subscription_id, array $body):
* results correspond to your request.
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
* - $options['state'] (string): Invoice state.
* - $options['limit'] (int): Limit number of records 1-200.
* - $options['order'] (string): Sort order.
* - $options['sort'] (string): Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down
24 changes: 24 additions & 0 deletions lib/recurly/resources/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Account extends RecurlyResource
private $_deleted_at;
private $_dunning_campaign_id;
private $_email;
private $_entity_use_code;
private $_exemption_certificate;
private $_first_name;
private $_has_active_subscription;
Expand Down Expand Up @@ -304,6 +305,29 @@ public function setEmail(string $email): void
$this->_email = $email;
}

/**
* Getter method for the entity_use_code attribute.
* The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
*
* @return ?string
*/
public function getEntityUseCode(): ?string
{
return $this->_entity_use_code;
}

/**
* Setter method for the entity_use_code attribute.
*
* @param string $entity_use_code
*
* @return void
*/
public function setEntityUseCode(string $entity_use_code): void
{
$this->_entity_use_code = $entity_use_code;
}

/**
* Getter method for the exemption_certificate attribute.
* The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
Expand Down
24 changes: 24 additions & 0 deletions lib/recurly/resources/address.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class Address extends RecurlyResource
private $_city;
private $_country;
private $_first_name;
private $_geo_code;
private $_last_name;
private $_phone;
private $_postal_code;
Expand Down Expand Up @@ -95,6 +96,29 @@ public function setFirstName(string $first_name): void
$this->_first_name = $first_name;
}

/**
* Getter method for the geo_code attribute.
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
*
* @return ?string
*/
public function getGeoCode(): ?string
{
return $this->_geo_code;
}

/**
* Setter method for the geo_code attribute.
*
* @param string $geo_code
*
* @return void
*/
public function setGeoCode(string $geo_code): void
{
$this->_geo_code = $geo_code;
}

/**
* Getter method for the last_name attribute.
* Last name
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/resources/gateway_attributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class GatewayAttributes extends RecurlyResource

/**
* Getter method for the account_reference attribute.
* Used by Adyen gateways. The Shopper Reference value used when the external token was created.
* Used by Adyen and Braintree gateways. For Adyen the Shopper Reference value used when the external token was created. For Braintree the PayPal PayerID is populated in the response.
*
* @return ?string
*/
Expand Down
24 changes: 24 additions & 0 deletions lib/recurly/resources/invoice_address.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class InvoiceAddress extends RecurlyResource
private $_company;
private $_country;
private $_first_name;
private $_geo_code;
private $_last_name;
private $_name_on_account;
private $_phone;
Expand Down Expand Up @@ -120,6 +121,29 @@ public function setFirstName(string $first_name): void
$this->_first_name = $first_name;
}

/**
* Getter method for the geo_code attribute.
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
*
* @return ?string
*/
public function getGeoCode(): ?string
{
return $this->_geo_code;
}

/**
* Setter method for the geo_code attribute.
*
* @param string $geo_code
*
* @return void
*/
public function setGeoCode(string $geo_code): void
{
$this->_geo_code = $geo_code;
}

/**
* Getter method for the last_name attribute.
* Last name
Expand Down
24 changes: 24 additions & 0 deletions lib/recurly/resources/payment_method.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class PaymentMethod extends RecurlyResource
{
private $_account_type;
private $_billing_agreement_id;
private $_card_network_preference;
private $_card_type;
private $_cc_bin_country;
private $_exp_month;
Expand Down Expand Up @@ -79,6 +80,29 @@ public function setBillingAgreementId(string $billing_agreement_id): void
$this->_billing_agreement_id = $billing_agreement_id;
}

/**
* Getter method for the card_network_preference attribute.
* Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
*
* @return ?string
*/
public function getCardNetworkPreference(): ?string
{
return $this->_card_network_preference;
}

/**
* Setter method for the card_network_preference attribute.
*
* @param string $card_network_preference
*
* @return void
*/
public function setCardNetworkPreference(string $card_network_preference): void
{
$this->_card_network_preference = $card_network_preference;
}

/**
* Getter method for the card_type attribute.
* Visa, MasterCard, American Express, Discover, JCB, etc.
Expand Down
24 changes: 24 additions & 0 deletions lib/recurly/resources/shipping_address.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class ShippingAddress extends RecurlyResource
private $_created_at;
private $_email;
private $_first_name;
private $_geo_code;
private $_id;
private $_last_name;
private $_nickname;
Expand Down Expand Up @@ -196,6 +197,29 @@ public function setFirstName(string $first_name): void
$this->_first_name = $first_name;
}

/**
* Getter method for the geo_code attribute.
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
*
* @return ?string
*/
public function getGeoCode(): ?string
{
return $this->_geo_code;
}

/**
* Setter method for the geo_code attribute.
*
* @param string $geo_code
*
* @return void
*/
public function setGeoCode(string $geo_code): void
{
$this->_geo_code = $geo_code;
}

/**
* Getter method for the id attribute.
* Shipping Address ID
Expand Down
48 changes: 48 additions & 0 deletions lib/recurly/resources/subscription_ramp_interval_response.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,39 @@
// phpcs:disable
class SubscriptionRampIntervalResponse extends RecurlyResource
{
private $_ending_on;
private $_remaining_billing_cycles;
private $_starting_billing_cycle;
private $_starting_on;
private $_unit_amount;

protected static $array_hints = [
];


/**
* Getter method for the ending_on attribute.
* Date the ramp interval ends
*
* @return ?string
*/
public function getEndingOn(): ?string
{
return $this->_ending_on;
}

/**
* Setter method for the ending_on attribute.
*
* @param string $ending_on
*
* @return void
*/
public function setEndingOn(string $ending_on): void
{
$this->_ending_on = $ending_on;
}

/**
* Getter method for the remaining_billing_cycles attribute.
* Represents how many billing cycles are left in a ramp interval.
Expand Down Expand Up @@ -66,6 +91,29 @@ public function setStartingBillingCycle(int $starting_billing_cycle): void
$this->_starting_billing_cycle = $starting_billing_cycle;
}

/**
* Getter method for the starting_on attribute.
* Date the ramp interval starts
*
* @return ?string
*/
public function getStartingOn(): ?string
{
return $this->_starting_on;
}

/**
* Setter method for the starting_on attribute.
*
* @param string $starting_on
*
* @return void
*/
public function setStartingOn(string $starting_on): void
{
$this->_starting_on = $starting_on;
}

/**
* Getter method for the unit_amount attribute.
* Represents the price for the ramp interval.
Expand Down
Loading
Loading