* *
  • AuthorizationDetails: OffAmazonPaymentsService_Model_AuthorizationDetails
  • *
  • AmazonOrderReferenceId: string
  • * * */ class OffAmazonPaymentsService_Model_AuthorizeOnBillingAgreementResult extends OffAmazonPaymentsService_Model { /** * Construct new OffAmazonPaymentsService_Model_AuthorizeOnBillingAgreementResult * * @param mixed $data DOMElement or Associative Array to construct from. * * Valid properties: * */ public function __construct($data = null) { $this->_fields = array( 'AuthorizationDetails' => array( 'FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsService_Model_AuthorizationDetails' ), 'AmazonOrderReferenceId' => array( 'FieldValue' => null, 'FieldType' => 'string' ) ); parent::__construct($data); } /** * Gets the value of the AuthorizationDetails. * * @return OffAmazonPaymentsService_Model_AuthorizationDetails AuthorizationDetails */ public function getAuthorizationDetails() { return $this->_fields['AuthorizationDetails']['FieldValue']; } /** * Sets the value of the AuthorizationDetails. * * @param OffAmazonPaymentsService_Model_AuthorizationDetails AuthorizationDetails * @return void */ public function setAuthorizationDetails($value) { $this->_fields['AuthorizationDetails']['FieldValue'] = $value; return; } /** * Sets the value of the AuthorizationDetails and returns this instance * * @param AuthorizationDetails $value AuthorizationDetails * @return OffAmazonPaymentsService_Model_AuthorizeOnBillingAgreementResult instance */ public function withAuthorizationDetails($value) { $this->setAuthorizationDetails($value); return $this; } /** * Checks if AuthorizationDetails is set * * @return bool true if OffAmazonPaymentsService_Model_AuthorizationDetails property is set */ public function isSetAuthorizationDetails() { return !is_null($this->_fields['AuthorizationDetails']['FieldValue']); } /** * Gets the value of the AmazonOrderReferenceId property. * * @return string AmazonOrderReferenceId */ public function getAmazonOrderReferenceId() { return $this->_fields['AmazonOrderReferenceId']['FieldValue']; } /** * Sets the value of the AmazonOrderReferenceId property. * * @param string AmazonOrderReferenceId * @return this instance */ public function setAmazonOrderReferenceId($value) { $this->_fields['AmazonOrderReferenceId']['FieldValue'] = $value; return $this; } /** * Sets the value of the AmazonOrderReferenceId and returns this instance * * @param string $value AmazonOrderReferenceId * @return OffAmazonPaymentsService_Model_AuthorizeOnBillingAgreementResult instance */ public function withAmazonOrderReferenceId($value) { $this->setAmazonOrderReferenceId($value); return $this; } /** * Checks if AmazonOrderReferenceId is set * * @return bool true if AmazonOrderReferenceId is set */ public function isSetAmazonOrderReferenceId() { return !is_null($this->_fields['AmazonOrderReferenceId']['FieldValue']); } }