Name of Company: BHAVY EMPORIUM LTD Company Number: 12717645 Company Type: Registered Company Nature of the business: Sale of electronic and telecommunications equipment and parts Type of Liquidation:…
View the original article
ll|\Stripe\StripeObject $treasury Treasury details related to this authorization if it was created on a FinancialAccount.
* @property \Stripe\StripeObject $verification_data
* @property null|string $wallet The digital wallet used for this transaction. One of apple_pay
, google_pay
, or samsung_pay
. Will populate as null
when no digital wallet was utilized.
*/
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;
}
}