forked from LiveCarta/PayPal-PHP-SDK
Enabled EC Parameters support
- Updated Api to enabled EC Parameters - Updated Tests - Updated Logging Manager - Added a feature to do validation on accessors.
This commit is contained in:
117
lib/PayPal/Api/CarrierAccountToken.php
Normal file
117
lib/PayPal/Api/CarrierAccountToken.php
Normal file
@@ -0,0 +1,117 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Api;
|
||||
|
||||
use PayPal\Common\PPModel;
|
||||
use PayPal\Rest\ApiContext;
|
||||
|
||||
|
||||
/**
|
||||
* Class CarrierAccountToken
|
||||
*
|
||||
* A resource representing a carrier account that can be used to fund a payment.
|
||||
*
|
||||
* @package PayPal\Api
|
||||
*
|
||||
* @property string carrier_account_id
|
||||
* @property string external_customer_id
|
||||
*/
|
||||
class CarrierAccountToken extends PPModel
|
||||
{
|
||||
/**
|
||||
* ID of a previously saved carrier account resource.
|
||||
*
|
||||
*
|
||||
* @param string $carrier_account_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setCarrierAccountId($carrier_account_id)
|
||||
{
|
||||
$this->carrier_account_id = $carrier_account_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* ID of a previously saved carrier account resource.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getCarrierAccountId()
|
||||
{
|
||||
return $this->carrier_account_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* ID of a previously saved carrier account resource.
|
||||
*
|
||||
* @deprecated Instead use setCarrierAccountId
|
||||
*
|
||||
* @param string $carrier_account_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setCarrier_account_id($carrier_account_id)
|
||||
{
|
||||
$this->carrier_account_id = $carrier_account_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* ID of a previously saved carrier account resource.
|
||||
* @deprecated Instead use getCarrierAccountId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getCarrier_account_id()
|
||||
{
|
||||
return $this->carrier_account_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier of the payer used when saving this carrier account instrument.
|
||||
*
|
||||
*
|
||||
* @param string $external_customer_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setExternalCustomerId($external_customer_id)
|
||||
{
|
||||
$this->external_customer_id = $external_customer_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier of the payer used when saving this carrier account instrument.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getExternalCustomerId()
|
||||
{
|
||||
return $this->external_customer_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier of the payer used when saving this carrier account instrument.
|
||||
*
|
||||
* @deprecated Instead use setExternalCustomerId
|
||||
*
|
||||
* @param string $external_customer_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setExternal_customer_id($external_customer_id)
|
||||
{
|
||||
$this->external_customer_id = $external_customer_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier of the payer used when saving this carrier account instrument.
|
||||
* @deprecated Instead use getExternalCustomerId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getExternal_customer_id()
|
||||
{
|
||||
return $this->external_customer_id;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user