Skip to content

Commit

Permalink
Generated Latest Changes for v2019-10-10
Browse files Browse the repository at this point in the history
  • Loading branch information
Recurly Integrations authored Mar 19, 2024
1 parent 4f1737a commit 5f8dc5a
Show file tree
Hide file tree
Showing 8 changed files with 222 additions and 9 deletions.
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/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

0 comments on commit 5f8dc5a

Please sign in to comment.