diff options
Diffstat (limited to '')
-rw-r--r-- | vendor/stripe/stripe-php/lib/Issuing/Authorization.php | 162 | ||||
-rw-r--r-- | vendor/stripe/stripe-php/lib/Issuing/Card.php | 119 | ||||
-rw-r--r-- | vendor/stripe/stripe-php/lib/Issuing/CardDetails.php | 38 | ||||
-rw-r--r-- | vendor/stripe/stripe-php/lib/Issuing/Cardholder.php | 78 | ||||
-rw-r--r-- | vendor/stripe/stripe-php/lib/Issuing/Dispute.php | 106 | ||||
-rw-r--r-- | vendor/stripe/stripe-php/lib/Issuing/Transaction.php | 87 |
6 files changed, 296 insertions, 294 deletions
diff --git a/vendor/stripe/stripe-php/lib/Issuing/Authorization.php b/vendor/stripe/stripe-php/lib/Issuing/Authorization.php index a649235..a21007a 100644 --- a/vendor/stripe/stripe-php/lib/Issuing/Authorization.php +++ b/vendor/stripe/stripe-php/lib/Issuing/Authorization.php @@ -1,81 +1,81 @@ -<?php - -// File generated from our OpenAPI spec - -namespace Stripe\Issuing; - -/** - * When an <a href="https://stripe.com/docs/issuing">issued card</a> is used to - * make a purchase, an Issuing <code>Authorization</code> object is created. <a - * href="https://stripe.com/docs/issuing/purchases/authorizations">Authorizations</a> - * must be approved for the purchase to be completed successfully. - * - * Related guide: <a - * href="https://stripe.com/docs/issuing/purchases/authorizations">Issued Card - * Authorizations</a>. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property int $amount The total amount that was authorized or rejected. This amount is in the card's currency and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. - * @property null|\Stripe\StripeObject $amount_details Detailed breakdown of amount components. These amounts are denominated in <code>currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. - * @property bool $approved Whether the authorization has been approved. - * @property string $authorization_method How the card details were provided. - * @property \Stripe\BalanceTransaction[] $balance_transactions List of balance transactions associated with this authorization. - * @property \Stripe\Issuing\Card $card You can <a href="https://stripe.com/docs/issuing/cards">create physical or virtual cards</a> that are issued to cardholders. - * @property null|string|\Stripe\Issuing\Cardholder $cardholder The cardholder to whom this authorization belongs. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>. - * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode. - * @property int $merchant_amount The total amount that was authorized or rejected. This amount is in the <code>merchant_currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. - * @property string $merchant_currency The currency that was presented to the cardholder for the authorization. Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>. - * @property \Stripe\StripeObject $merchant_data - * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property null|\Stripe\StripeObject $pending_request The pending authorization request. This field will only be non-null during an <code>issuing_authorization.request</code> webhook. - * @property \Stripe\StripeObject[] $request_history History of every time <code>pending_request</code> was approved/denied, either by you directly or by Stripe (e.g. based on your <code>spending_controls</code>). If the merchant changes the authorization by performing an <a href="https://stripe.com/docs/issuing/purchases/authorizations">incremental authorization</a>, you can look at this field to see the previous requests for the authorization. - * @property string $status The current status of the authorization in its lifecycle. - * @property \Stripe\Issuing\Transaction[] $transactions List of <a href="https://stripe.com/docs/api/issuing/transactions">transactions</a> associated with this authorization. - * @property \Stripe\StripeObject $verification_data - * @property null|string $wallet What, if any, digital wallet was used for this authorization. One of <code>apple_pay</code>, <code>google_pay</code>, or <code>samsung_pay</code>. - */ -class Authorization extends \Stripe\ApiResource -{ - const OBJECT_NAME = 'issuing.authorization'; - - use \Stripe\ApiOperations\All; - use \Stripe\ApiOperations\Retrieve; - use \Stripe\ApiOperations\Update; - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Authorization the approved authorization - */ - public function approve($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/approve'; - list($response, $opts) = $this->_request('post', $url, $params, $opts); - $this->refreshFrom($response, $opts); - - return $this; - } - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Authorization the declined authorization - */ - public function decline($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/decline'; - list($response, $opts) = $this->_request('post', $url, $params, $opts); - $this->refreshFrom($response, $opts); - - return $this; - } -} +<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Issuing;
+
+/**
+ * When an <a href="https://stripe.com/docs/issuing">issued card</a> is used to
+ * make a purchase, an Issuing <code>Authorization</code> object is created. <a
+ * href="https://stripe.com/docs/issuing/purchases/authorizations">Authorizations</a>
+ * must be approved for the purchase to be completed successfully.
+ *
+ * Related guide: <a
+ * href="https://stripe.com/docs/issuing/purchases/authorizations">Issued Card
+ * Authorizations</a>.
+ *
+ * @property string $id Unique identifier for the object.
+ * @property string $object String representing the object's type. Objects of the same type share the same value.
+ * @property int $amount The total amount that was authorized or rejected. This amount is in the card's currency and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
+ * @property null|\Stripe\StripeObject $amount_details Detailed breakdown of amount components. These amounts are denominated in <code>currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
+ * @property bool $approved Whether the authorization has been approved.
+ * @property string $authorization_method How the card details were provided.
+ * @property \Stripe\BalanceTransaction[] $balance_transactions List of balance transactions associated with this authorization.
+ * @property \Stripe\Issuing\Card $card You can <a href="https://stripe.com/docs/issuing/cards">create physical or virtual cards</a> that are issued to cardholders.
+ * @property null|string|\Stripe\Issuing\Cardholder $cardholder The cardholder to whom this authorization belongs.
+ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
+ * @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
+ * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
+ * @property int $merchant_amount The total amount that was authorized or rejected. This amount is in the <code>merchant_currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
+ * @property string $merchant_currency The currency that was presented to the cardholder for the authorization. Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
+ * @property \Stripe\StripeObject $merchant_data
+ * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+ * @property null|\Stripe\StripeObject $pending_request The pending authorization request. This field will only be non-null during an <code>issuing_authorization.request</code> webhook.
+ * @property \Stripe\StripeObject[] $request_history History of every time <code>pending_request</code> was approved/denied, either by you directly or by Stripe (e.g. based on your <code>spending_controls</code>). If the merchant changes the authorization by performing an <a href="https://stripe.com/docs/issuing/purchases/authorizations">incremental authorization</a>, you can look at this field to see the previous requests for the authorization.
+ * @property string $status The current status of the authorization in its lifecycle.
+ * @property \Stripe\Issuing\Transaction[] $transactions List of <a href="https://stripe.com/docs/api/issuing/transactions">transactions</a> associated with this authorization.
+ * @property \Stripe\StripeObject $verification_data
+ * @property null|string $wallet The digital wallet used for this authorization. One of <code>apple_pay</code>, <code>google_pay</code>, or <code>samsung_pay</code>.
+ */
+class Authorization extends \Stripe\ApiResource
+{
+ const OBJECT_NAME = 'issuing.authorization';
+
+ use \Stripe\ApiOperations\All;
+ use \Stripe\ApiOperations\Retrieve;
+ use \Stripe\ApiOperations\Update;
+
+ /**
+ * @param null|array $params
+ * @param null|array|string $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Authorization the approved authorization
+ */
+ public function approve($params = null, $opts = null)
+ {
+ $url = $this->instanceUrl() . '/approve';
+ list($response, $opts) = $this->_request('post', $url, $params, $opts);
+ $this->refreshFrom($response, $opts);
+
+ return $this;
+ }
+
+ /**
+ * @param null|array $params
+ * @param null|array|string $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Authorization the declined authorization
+ */
+ public function decline($params = null, $opts = null)
+ {
+ $url = $this->instanceUrl() . '/decline';
+ list($response, $opts) = $this->_request('post', $url, $params, $opts);
+ $this->refreshFrom($response, $opts);
+
+ return $this;
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Issuing/Card.php b/vendor/stripe/stripe-php/lib/Issuing/Card.php index e0ac774..f94101a 100644 --- a/vendor/stripe/stripe-php/lib/Issuing/Card.php +++ b/vendor/stripe/stripe-php/lib/Issuing/Card.php @@ -1,59 +1,60 @@ -<?php - -// File generated from our OpenAPI spec - -namespace Stripe\Issuing; - -/** - * You can <a href="https://stripe.com/docs/issuing/cards">create physical or - * virtual cards</a> that are issued to cardholders. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property string $brand The brand of the card. - * @property null|string $cancellation_reason The reason why the card was canceled. - * @property \Stripe\Issuing\Cardholder $cardholder <p>An Issuing <code>Cardholder</code> object represents an individual or business entity who is <a href="https://stripe.com/docs/issuing">issued</a> cards.</p><p>Related guide: <a href="https://stripe.com/docs/issuing/cards#create-cardholder">How to create a Cardholder</a></p> - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>. - * @property string $cvc The card's CVC. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with <a href="https://stripe.com/docs/api/expanding_objects">the <code>expand</code> parameter</a>. Additionally, it's only available via the <a href="https://stripe.com/docs/api/issuing/cards/retrieve">"Retrieve a card" endpoint</a>, not via "List all cards" or any other endpoint. - * @property int $exp_month The expiration month of the card. - * @property int $exp_year The expiration year of the card. - * @property string $last4 The last 4 digits of the card number. - * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode. - * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property string $number The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with <a href="https://stripe.com/docs/api/expanding_objects">the <code>expand</code> parameter</a>. Additionally, it's only available via the <a href="https://stripe.com/docs/api/issuing/cards/retrieve">"Retrieve a card" endpoint</a>, not via "List all cards" or any other endpoint. - * @property null|string|\Stripe\Issuing\Card $replaced_by The latest card that replaces this card, if any. - * @property null|string|\Stripe\Issuing\Card $replacement_for The card this card replaces, if any. - * @property null|string $replacement_reason The reason why the previous card needed to be replaced. - * @property null|\Stripe\StripeObject $shipping Where and how the card will be shipped. - * @property \Stripe\StripeObject $spending_controls - * @property string $status Whether authorizations can be approved on this card. - * @property string $type The type of the card. - */ -class Card extends \Stripe\ApiResource -{ - const OBJECT_NAME = 'issuing.card'; - - use \Stripe\ApiOperations\All; - use \Stripe\ApiOperations\Create; - use \Stripe\ApiOperations\Retrieve; - use \Stripe\ApiOperations\Update; - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Issuing\CardDetails the card details associated with that issuing card - */ - public function details($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/details'; - list($response, $opts) = $this->_request('get', $url, $params, $opts); - $obj = \Stripe\Util\Util::convertToStripeObject($response, $opts); - $obj->setLastResponse($response); - - return $obj; - } -} +<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Issuing;
+
+/**
+ * You can <a href="https://stripe.com/docs/issuing/cards">create physical or
+ * virtual cards</a> that are issued to cardholders.
+ *
+ * @property string $id Unique identifier for the object.
+ * @property string $object String representing the object's type. Objects of the same type share the same value.
+ * @property string $brand The brand of the card.
+ * @property null|string $cancellation_reason The reason why the card was canceled.
+ * @property \Stripe\Issuing\Cardholder $cardholder <p>An Issuing <code>Cardholder</code> object represents an individual or business entity who is <a href="https://stripe.com/docs/issuing">issued</a> cards.</p><p>Related guide: <a href="https://stripe.com/docs/issuing/cards#create-cardholder">How to create a Cardholder</a></p>
+ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
+ * @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
+ * @property string $cvc The card's CVC. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with <a href="https://stripe.com/docs/api/expanding_objects">the <code>expand</code> parameter</a>. Additionally, it's only available via the <a href="https://stripe.com/docs/api/issuing/cards/retrieve">"Retrieve a card" endpoint</a>, not via "List all cards" or any other endpoint.
+ * @property int $exp_month The expiration month of the card.
+ * @property int $exp_year The expiration year of the card.
+ * @property string $last4 The last 4 digits of the card number.
+ * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
+ * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+ * @property string $number The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with <a href="https://stripe.com/docs/api/expanding_objects">the <code>expand</code> parameter</a>. Additionally, it's only available via the <a href="https://stripe.com/docs/api/issuing/cards/retrieve">"Retrieve a card" endpoint</a>, not via "List all cards" or any other endpoint.
+ * @property null|string|\Stripe\Issuing\Card $replaced_by The latest card that replaces this card, if any.
+ * @property null|string|\Stripe\Issuing\Card $replacement_for The card this card replaces, if any.
+ * @property null|string $replacement_reason The reason why the previous card needed to be replaced.
+ * @property null|\Stripe\StripeObject $shipping Where and how the card will be shipped.
+ * @property \Stripe\StripeObject $spending_controls
+ * @property string $status Whether authorizations can be approved on this card.
+ * @property string $type The type of the card.
+ * @property null|\Stripe\StripeObject $wallets Information relating to digital wallets (like Apple Pay and Google Pay).
+ */
+class Card extends \Stripe\ApiResource
+{
+ const OBJECT_NAME = 'issuing.card';
+
+ use \Stripe\ApiOperations\All;
+ use \Stripe\ApiOperations\Create;
+ use \Stripe\ApiOperations\Retrieve;
+ use \Stripe\ApiOperations\Update;
+
+ /**
+ * @param null|array $params
+ * @param null|array|string $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\CardDetails the card details associated with that issuing card
+ */
+ public function details($params = null, $opts = null)
+ {
+ $url = $this->instanceUrl() . '/details';
+ list($response, $opts) = $this->_request('get', $url, $params, $opts);
+ $obj = \Stripe\Util\Util::convertToStripeObject($response, $opts);
+ $obj->setLastResponse($response);
+
+ return $obj;
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Issuing/CardDetails.php b/vendor/stripe/stripe-php/lib/Issuing/CardDetails.php index 98f4e0b..2097a55 100644 --- a/vendor/stripe/stripe-php/lib/Issuing/CardDetails.php +++ b/vendor/stripe/stripe-php/lib/Issuing/CardDetails.php @@ -1,19 +1,19 @@ -<?php - -namespace Stripe\Issuing; - -/** - * Class CardDetails. - * - * @property string $id - * @property string $object - * @property Card $card - * @property string $cvc - * @property int $exp_month - * @property int $exp_year - * @property string $number - */ -class CardDetails extends \Stripe\ApiResource -{ - const OBJECT_NAME = 'issuing.card_details'; -} +<?php
+
+namespace Stripe\Issuing;
+
+/**
+ * Class CardDetails.
+ *
+ * @property string $id
+ * @property string $object
+ * @property Card $card
+ * @property string $cvc
+ * @property int $exp_month
+ * @property int $exp_year
+ * @property string $number
+ */
+class CardDetails extends \Stripe\ApiResource
+{
+ const OBJECT_NAME = 'issuing.card_details';
+}
diff --git a/vendor/stripe/stripe-php/lib/Issuing/Cardholder.php b/vendor/stripe/stripe-php/lib/Issuing/Cardholder.php index 931b7ce..5804e50 100644 --- a/vendor/stripe/stripe-php/lib/Issuing/Cardholder.php +++ b/vendor/stripe/stripe-php/lib/Issuing/Cardholder.php @@ -1,39 +1,39 @@ -<?php - -// File generated from our OpenAPI spec - -namespace Stripe\Issuing; - -/** - * An Issuing <code>Cardholder</code> object represents an individual or business - * entity who is <a href="https://stripe.com/docs/issuing">issued</a> cards. - * - * Related guide: <a - * href="https://stripe.com/docs/issuing/cards#create-cardholder">How to create a - * Cardholder</a> - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property \Stripe\StripeObject $billing - * @property null|\Stripe\StripeObject $company Additional information about a <code>company</code> cardholder. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property null|string $email The cardholder's email address. - * @property null|\Stripe\StripeObject $individual Additional information about an <code>individual</code> cardholder. - * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode. - * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property string $name The cardholder's name. This will be printed on cards issued to them. - * @property null|string $phone_number The cardholder's phone number. - * @property \Stripe\StripeObject $requirements - * @property null|\Stripe\StripeObject $spending_controls Rules that control spending across this cardholder's cards. Refer to our <a href="https://stripe.com/docs/issuing/controls/spending-controls">documentation</a> for more details. - * @property string $status Specifies whether to permit authorizations on this cardholder's cards. - * @property string $type One of <code>individual</code> or <code>company</code>. - */ -class Cardholder extends \Stripe\ApiResource -{ - const OBJECT_NAME = 'issuing.cardholder'; - - use \Stripe\ApiOperations\All; - use \Stripe\ApiOperations\Create; - use \Stripe\ApiOperations\Retrieve; - use \Stripe\ApiOperations\Update; -} +<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Issuing;
+
+/**
+ * An Issuing <code>Cardholder</code> object represents an individual or business
+ * entity who is <a href="https://stripe.com/docs/issuing">issued</a> cards.
+ *
+ * Related guide: <a
+ * href="https://stripe.com/docs/issuing/cards#create-cardholder">How to create a
+ * Cardholder</a>
+ *
+ * @property string $id Unique identifier for the object.
+ * @property string $object String representing the object's type. Objects of the same type share the same value.
+ * @property \Stripe\StripeObject $billing
+ * @property null|\Stripe\StripeObject $company Additional information about a <code>company</code> cardholder.
+ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
+ * @property null|string $email The cardholder's email address.
+ * @property null|\Stripe\StripeObject $individual Additional information about an <code>individual</code> cardholder.
+ * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
+ * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+ * @property string $name The cardholder's name. This will be printed on cards issued to them.
+ * @property null|string $phone_number The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the <a href="https://stripe.com/docs/issuing/3d-secure#when-is-3d-secure-applied">3D Secure documentation</a> for more details.
+ * @property \Stripe\StripeObject $requirements
+ * @property null|\Stripe\StripeObject $spending_controls Rules that control spending across this cardholder's cards. Refer to our <a href="https://stripe.com/docs/issuing/controls/spending-controls">documentation</a> for more details.
+ * @property string $status Specifies whether to permit authorizations on this cardholder's cards.
+ * @property string $type One of <code>individual</code> or <code>company</code>.
+ */
+class Cardholder extends \Stripe\ApiResource
+{
+ const OBJECT_NAME = 'issuing.cardholder';
+
+ use \Stripe\ApiOperations\All;
+ use \Stripe\ApiOperations\Create;
+ use \Stripe\ApiOperations\Retrieve;
+ use \Stripe\ApiOperations\Update;
+}
diff --git a/vendor/stripe/stripe-php/lib/Issuing/Dispute.php b/vendor/stripe/stripe-php/lib/Issuing/Dispute.php index 2a80c3b..49aa2f2 100644 --- a/vendor/stripe/stripe-php/lib/Issuing/Dispute.php +++ b/vendor/stripe/stripe-php/lib/Issuing/Dispute.php @@ -1,53 +1,53 @@ -<?php - -// File generated from our OpenAPI spec - -namespace Stripe\Issuing; - -/** - * As a <a href="https://stripe.com/docs/issuing">card issuer</a>, you can dispute - * transactions that the cardholder does not recognize, suspects to be fraudulent, - * or has other issues with. - * - * Related guide: <a - * href="https://stripe.com/docs/issuing/purchases/disputes">Disputing - * Transactions</a> - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property int $amount Disputed amount. Usually the amount of the <code>transaction</code>, but can differ (usually because of currency fluctuation). - * @property null|\Stripe\BalanceTransaction[] $balance_transactions List of balance transactions associated with the dispute. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency The currency the <code>transaction</code> was made in. - * @property \Stripe\StripeObject $evidence - * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode. - * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property string $status Current status of the dispute. - * @property string|\Stripe\Issuing\Transaction $transaction The transaction being disputed. - */ -class Dispute extends \Stripe\ApiResource -{ - const OBJECT_NAME = 'issuing.dispute'; - - use \Stripe\ApiOperations\All; - use \Stripe\ApiOperations\Create; - use \Stripe\ApiOperations\Retrieve; - use \Stripe\ApiOperations\Update; - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Dispute the submited dispute - */ - public function submit($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/submit'; - list($response, $opts) = $this->_request('post', $url, $params, $opts); - $this->refreshFrom($response, $opts); - - return $this; - } -} +<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Issuing;
+
+/**
+ * As a <a href="https://stripe.com/docs/issuing">card issuer</a>, you can dispute
+ * transactions that the cardholder does not recognize, suspects to be fraudulent,
+ * or has other issues with.
+ *
+ * Related guide: <a
+ * href="https://stripe.com/docs/issuing/purchases/disputes">Disputing
+ * Transactions</a>
+ *
+ * @property string $id Unique identifier for the object.
+ * @property string $object String representing the object's type. Objects of the same type share the same value.
+ * @property int $amount Disputed amount. Usually the amount of the <code>transaction</code>, but can differ (usually because of currency fluctuation).
+ * @property null|\Stripe\BalanceTransaction[] $balance_transactions List of balance transactions associated with the dispute.
+ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
+ * @property string $currency The currency the <code>transaction</code> was made in.
+ * @property \Stripe\StripeObject $evidence
+ * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
+ * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+ * @property string $status Current status of the dispute.
+ * @property string|\Stripe\Issuing\Transaction $transaction The transaction being disputed.
+ */
+class Dispute extends \Stripe\ApiResource
+{
+ const OBJECT_NAME = 'issuing.dispute';
+
+ use \Stripe\ApiOperations\All;
+ use \Stripe\ApiOperations\Create;
+ use \Stripe\ApiOperations\Retrieve;
+ use \Stripe\ApiOperations\Update;
+
+ /**
+ * @param null|array $params
+ * @param null|array|string $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Dispute the submited dispute
+ */
+ public function submit($params = null, $opts = null)
+ {
+ $url = $this->instanceUrl() . '/submit';
+ list($response, $opts) = $this->_request('post', $url, $params, $opts);
+ $this->refreshFrom($response, $opts);
+
+ return $this;
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Issuing/Transaction.php b/vendor/stripe/stripe-php/lib/Issuing/Transaction.php index 3c44d7e..e9b9021 100644 --- a/vendor/stripe/stripe-php/lib/Issuing/Transaction.php +++ b/vendor/stripe/stripe-php/lib/Issuing/Transaction.php @@ -1,43 +1,44 @@ -<?php - -// File generated from our OpenAPI spec - -namespace Stripe\Issuing; - -/** - * Any use of an <a href="https://stripe.com/docs/issuing">issued card</a> that - * results in funds entering or leaving your Stripe account, such as a completed - * purchase or refund, is represented by an Issuing <code>Transaction</code> - * object. - * - * Related guide: <a - * href="https://stripe.com/docs/issuing/purchases/transactions">Issued Card - * Transactions</a>. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property int $amount The transaction amount, which will be reflected in your balance. This amount is in your currency and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. - * @property null|\Stripe\StripeObject $amount_details Detailed breakdown of amount components. These amounts are denominated in <code>currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. - * @property null|string|\Stripe\Issuing\Authorization $authorization The <code>Authorization</code> object that led to this transaction. - * @property null|string|\Stripe\BalanceTransaction $balance_transaction ID of the <a href="https://stripe.com/docs/api/balance_transactions">balance transaction</a> associated with this transaction. - * @property string|\Stripe\Issuing\Card $card The card used to make this transaction. - * @property null|string|\Stripe\Issuing\Cardholder $cardholder The cardholder to whom this transaction belongs. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>. - * @property null|string|\Stripe\Issuing\Dispute $dispute If you've disputed the transaction, the ID of the dispute. - * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode. - * @property int $merchant_amount The amount that the merchant will receive, denominated in <code>merchant_currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. It will be different from <code>amount</code> if the merchant is taking payment in a different currency. - * @property string $merchant_currency The currency with which the merchant is taking payment. - * @property \Stripe\StripeObject $merchant_data - * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property null|\Stripe\StripeObject $purchase_details Additional purchase information that is optionally provided by the merchant. - * @property string $type The nature of the transaction. - */ -class Transaction extends \Stripe\ApiResource -{ - const OBJECT_NAME = 'issuing.transaction'; - - use \Stripe\ApiOperations\All; - use \Stripe\ApiOperations\Retrieve; - use \Stripe\ApiOperations\Update; -} +<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Issuing;
+
+/**
+ * Any use of an <a href="https://stripe.com/docs/issuing">issued card</a> that
+ * results in funds entering or leaving your Stripe account, such as a completed
+ * purchase or refund, is represented by an Issuing <code>Transaction</code>
+ * object.
+ *
+ * Related guide: <a
+ * href="https://stripe.com/docs/issuing/purchases/transactions">Issued Card
+ * Transactions</a>.
+ *
+ * @property string $id Unique identifier for the object.
+ * @property string $object String representing the object's type. Objects of the same type share the same value.
+ * @property int $amount The transaction amount, which will be reflected in your balance. This amount is in your currency and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
+ * @property null|\Stripe\StripeObject $amount_details Detailed breakdown of amount components. These amounts are denominated in <code>currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
+ * @property null|string|\Stripe\Issuing\Authorization $authorization The <code>Authorization</code> object that led to this transaction.
+ * @property null|string|\Stripe\BalanceTransaction $balance_transaction ID of the <a href="https://stripe.com/docs/api/balance_transactions">balance transaction</a> associated with this transaction.
+ * @property string|\Stripe\Issuing\Card $card The card used to make this transaction.
+ * @property null|string|\Stripe\Issuing\Cardholder $cardholder The cardholder to whom this transaction belongs.
+ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
+ * @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
+ * @property null|string|\Stripe\Issuing\Dispute $dispute If you've disputed the transaction, the ID of the dispute.
+ * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
+ * @property int $merchant_amount The amount that the merchant will receive, denominated in <code>merchant_currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. It will be different from <code>amount</code> if the merchant is taking payment in a different currency.
+ * @property string $merchant_currency The currency with which the merchant is taking payment.
+ * @property \Stripe\StripeObject $merchant_data
+ * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+ * @property null|\Stripe\StripeObject $purchase_details Additional purchase information that is optionally provided by the merchant.
+ * @property string $type The nature of the transaction.
+ * @property null|string $wallet The digital wallet used for this transaction. One of <code>apple_pay</code>, <code>google_pay</code>, or <code>samsung_pay</code>.
+ */
+class Transaction extends \Stripe\ApiResource
+{
+ const OBJECT_NAME = 'issuing.transaction';
+
+ use \Stripe\ApiOperations\All;
+ use \Stripe\ApiOperations\Retrieve;
+ use \Stripe\ApiOperations\Update;
+}
|