コード例 #1
0
 /**
  * Coinbase checkout ID
  * 
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getCheckoutID($default = null, $trim = true)
 {
     $value = Objects::property($this->_getResultJson(), 'checkoutID', $default);
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #2
0
 /**
  * Customer Subscription Status
  *
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getSubscriptionType($default = null, $trim = true)
 {
     $value = $this->_subscriptionType ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #3
0
ファイル: ProductRequest.php プロジェクト: fortifi/php-api
 /**
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getMaxQuantity($default = null, $trim = true)
 {
     $value = Objects::property($this->_getResultJson(), 'maxQuantity', $default);
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #4
0
 /**
  * If known, the Fortifi event ID for this visitors action
  *
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getEventId($default = null, $trim = true)
 {
     $value = $this->_eventId ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #5
0
 /**
  * Client IP Address
  *
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getClientIp($default = null, $trim = true)
 {
     $value = $this->_clientIp ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #6
0
ファイル: BrandRequest.php プロジェクト: fortifi/php-api
 /**
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getBrandFid($default = null, $trim = true)
 {
     $value = Objects::property($this->_getResultJson(), 'brandFid', $default);
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #7
0
 /**
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getFailUrl($default = null, $trim = true)
 {
     $value = $this->_failUrl ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #8
0
 /**
  * Account Status
  *
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getAccountStatus($default = null, $trim = true)
 {
     $value = $this->_accountStatus ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #9
0
ファイル: CustomerRequest.php プロジェクト: fortifi/php-api
 /**
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getExternalReference($default = null, $trim = true)
 {
     $value = Objects::property($this->_getResultJson(), 'externalReference', $default);
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #10
0
 /**
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getRedirectUrl($default = null, $trim = true)
 {
     $value = Objects::property($this->_getResultJson(), 'redirectUrl', $default);
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #11
0
 /**
  * Property Value
  *
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getPropertyValue($default = null, $trim = true)
 {
     $value = $this->_propertyValue ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #12
0
 /**
  * Payment Service Processor Type
  *
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getPaymentServiceProcessor($default = null, $trim = true)
 {
     $value = $this->_paymentServiceProcessor ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #13
0
 /**
  * Price FID to modify subscription with
  *
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getPriceFid($default = null, $trim = true)
 {
     $value = $this->_priceFid ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #14
0
 /**
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getInvoiceStatus($default = null, $trim = true)
 {
     $value = Objects::property($this->_getResultJson(), 'invoiceStatus', $default);
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #15
0
 /**
  * Your alias for the event to be triggered
  *
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getAlias($default = null, $trim = true)
 {
     $value = $this->_alias ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #16
0
 /**
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getToken($default = null, $trim = true)
 {
     $value = $this->_token ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #17
0
ファイル: EntityRequest.php プロジェクト: fortifi/php-api
 /**
  * Discription
  * 
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getDescription($default = null, $trim = true)
 {
     $value = Objects::property($this->_getResultJson(), 'description', $default);
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #18
0
ファイル: CardUpdatePayload.php プロジェクト: fortifi/php-api
 /**
  * Postal/Zip Code of the card
  *
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getAddressPostal($default = null, $trim = true)
 {
     $value = $this->_addressPostal ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #19
0
 /**
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getCommissionCurrency($default = null, $trim = true)
 {
     $value = Objects::property($this->_getResultJson(), 'commissionCurrency', $default);
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #20
0
 /**
  * Term Type
  * 
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getTermType($default = null, $trim = true)
 {
     $value = Objects::property($this->_getResultJson(), 'termType', $default);
     return $trim ? Strings::ntrim($value) : $value;
 }
コード例 #21
0
 /**
  * Description for this polymer
  *
  * @param mixed $default
  * @param bool $trim Trim Value
  *
  * @return string
  */
 public function getDescription($default = null, $trim = true)
 {
     $value = $this->_description ?: $default;
     return $trim ? Strings::ntrim($value) : $value;
 }