/**
  * Construct new OffAmazonPaymentsNotifications_Model_BillingAgreement
  *
  * @param mixed $data DOMElement or Associative Array to construct from.
  *
  * Valid properties:
  * <ul>
  *
  * <li>AmazonBillingAgreementId: string</li>
  * <li>SellerBillingAgreementAttributes: 
  *     OffAmazonPaymentsNotifications_Model_SellerBillingAgreementAttributes</li>
  * <li>BillingAgreementStatus: 
  *     OffAmazonPaymentsNotifications_Model_BillingAgreementStatus</li>
  * <li>CreationTimestamp: string</li>
  * <li>BillingAgreementLimits: 
  *     OffAmazonPaymentsNotifications_Model_BillingAgreementLimits</li>
  * <li>BillingAgreementConsent: bool</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('AmazonBillingAgreementId' => array('FieldValue' => null, 'FieldType' => 'string'), 'SellerBillingAgreementAttributes' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_SellerBillingAgreementAttributes'), 'BillingAgreementStatus' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_BillingAgreementStatus'), 'CreationTimestamp' => array('FieldValue' => null, 'FieldType' => 'string'), 'BillingAgreementLimits' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_BillingAgreementLimits'), 'BillingAgreementConsent' => array('FieldValue' => null, 'FieldType' => 'bool'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_RefundDetails
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>AmazonRefundId: string</li>
  * <li>RefundReferenceId: string</li>
  * <li>RefundType: string</li>
  * <li>RefundAmount: OffAmazonPaymentsNotifications_Model_Price</li>
  * <li>FeeRefunded: OffAmazonPaymentsNotifications_Model_Price</li>
  * <li>CreationTimestamp: string</li>
  * <li>RefundStatus: OffAmazonPaymentsNotifications_Model_Status</li>
  * <li>ProviderCreditReversalSummaryList: OffAmazonPaymentsNotifications_Model_ProviderCreditReversalSummaryList</li>
  * <li>SoftDescriptor: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('AmazonRefundId' => array('FieldValue' => null, 'FieldType' => 'string'), 'RefundReferenceId' => array('FieldValue' => null, 'FieldType' => 'string'), 'RefundType' => array('FieldValue' => null, 'FieldType' => 'string'), 'RefundAmount' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'), 'FeeRefunded' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'), 'CreationTimestamp' => array('FieldValue' => null, 'FieldType' => 'string'), 'RefundStatus' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Status'), 'ProviderCreditReversalSummaryList' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_ProviderCreditReversalSummaryList'), 'SoftDescriptor' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_SellerOrderAttributes
  *
  * @param mixed $data DOMElement or Associative Array to construct from.
  *
  * Valid properties:
  * <ul>
  *
  * <li>SellerId: string</li>
  * <li>SellerOrderId: string</li>
  * <li>OrderItemCategories: 
  *     OffAmazonPaymentsNotifications_Model_OrderItemCategories</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('SellerId' => array('FieldValue' => null, 'FieldType' => 'string'), 'SellerOrderId' => array('FieldValue' => null, 'FieldType' => 'string'), 'OrderItemCategories' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_OrderItemCategories'));
     parent::__construct($data);
 }
 /**
  * Construct new instance of the object, mapping the xml to the fields
  * defined in the child of this class, and extracting the request
  * metadata for this object
  *
  * @param OffAmazonPaymentsNotifications_NotificationMetadata $notificationMetadata metadata for message 
  *                                                                                  containing the
  *                                                                                  common notification 
  *                                                                                  fields
  * @param string                                              $notificationType     type of notification
  * @param mixed                                               $data                 DOMElement or
  *                                                                                  Associative Array 
  *                                                                                  to construct from
  *
  * @return new instance
  */
 public function __construct(OffAmazonPaymentsNotifications_NotificationMetadata $notificationMetadata, $notificationType, $data = null)
 {
     $this->_notificationMetadata = $notificationMetadata;
     $this->_notificationType = $notificationType;
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_ProviderCreditReversalSummary
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>ProviderSellerId: string</li>
  * <li>ProviderCreditReversalId: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('ProviderSellerId' => array('FieldValue' => null, 'FieldType' => 'string'), 'ProviderCreditReversalId' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_SolutionProviderOption
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>name: string</li>
  * <li>value: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('name' => array('FieldValue' => null, 'FieldType' => 'string'), 'value' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_SellerBillingAgreementAttributes
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>SellerId: string</li>
  * <li>SellerBillingAgreementId: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('SellerId' => array('FieldValue' => null, 'FieldType' => 'string'), 'SellerBillingAgreementId' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_OrderReferenceStatus
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>State: string</li>
  * <li>LastUpdateTimestamp: string</li>
  * <li>ReasonCode: string</li>
  * <li>ReasonDescription: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('State' => array('FieldValue' => null, 'FieldType' => 'string'), 'LastUpdateTimestamp' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReasonCode' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReasonDescription' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_ProviderCreditSummaryList
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>ProviderCreditSummary: OffAmazonPaymentsNotifications_Model_ProviderCreditSummary</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('ProviderCreditSummary' => array('FieldValue' => array(), 'FieldType' => array('OffAmazonPaymentsNotifications_Model_ProviderCreditSummary')));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_OrderItemCategories
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>OrderItemCategory: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('OrderItemCategory' => array('FieldValue' => array(), 'FieldType' => array('string')));
     parent::__construct($data);
 }
Beispiel #11
0
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_OrderReference
  *
  * @param mixed $data DOMElement or Associative Array to construct from.
  *
  * Valid properties:
  * <ul>
  *
  * <li>AmazonOrderReferenceId: string</li>
  * <li>OrderTotal: OffAmazonPaymentsNotifications_Model_OrderTotal</li>
  * <li>SellerOrderAttributes: 
  *     OffAmazonPaymentsNotifications_Model_OrderTotal</li>
  * <li>OrderReferenceStatus: 
  *     OffAmazonPaymentsNotifications_Model_OrderReferenceStatus</li>
  * <li>CreationTimestamp: string</li>
  * <li>ExpirationTimestamp: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('AmazonOrderReferenceId' => array('FieldValue' => null, 'FieldType' => 'string'), 'OrderTotal' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_OrderTotal'), 'SellerOrderAttributes' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_SellerOrderAttributes'), 'OrderReferenceStatus' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_OrderReferenceStatus'), 'CreationTimestamp' => array('FieldValue' => null, 'FieldType' => 'string'), 'ExpirationTimestamp' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_BillingAgreementLimits
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>AmountLimitPerTimePeriod: OffAmazonPaymentsNotifications_Model_Price</li>
  * <li>TimePeriodStartDate: string</li>
  * <li>TimePeriodEndDate: string</li>
  * <li>CurrentRemainingBalance: OffAmazonPaymentsNotifications_Model_Price</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('AmountLimitPerTimePeriod' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'), 'TimePeriodStartDate' => array('FieldValue' => null, 'FieldType' => 'string'), 'TimePeriodEndDate' => array('FieldValue' => null, 'FieldType' => 'string'), 'CurrentRemainingBalance' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_SolutionProviderOption
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>SolutionProviderOption: OffAmazonPaymentsNotifications_Model_SolutionProviderOption</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('SolutionProviderOption' => array('FieldValue' => array(), 'FieldType' => array('OffAmazonPaymentsNotifications_Model_SolutionProviderOption')));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_CaptureDetails
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>AmazonCaptureId: string</li>
  * <li>CaptureReferenceId: string</li>
  * <li>CaptureAmount: OffAmazonPaymentsNotifications_Model_Price</li>
  * <li>RefundedAmount: OffAmazonPaymentsNotifications_Model_Price</li>
  * <li>CaptureFee: OffAmazonPaymentsNotifications_Model_Price</li>
  * <li>IdList: OffAmazonPaymentsNotifications_Model_IdList</li>
  * <li>CreationTimestamp: string</li>
  * <li>CaptureStatus: OffAmazonPaymentsNotifications_Model_Status</li>
  * <li>SoftDescriptor: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('AmazonCaptureId' => array('FieldValue' => null, 'FieldType' => 'string'), 'CaptureReferenceId' => array('FieldValue' => null, 'FieldType' => 'string'), 'CaptureAmount' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'), 'RefundedAmount' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'), 'CaptureFee' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'), 'IdList' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_IdList'), 'CreationTimestamp' => array('FieldValue' => null, 'FieldType' => 'string'), 'CaptureStatus' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Status'), 'SoftDescriptor' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_OrderTotal
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>CurrencyCode: string</li>
  * <li>Amount: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('CurrencyCode' => array('FieldValue' => null, 'FieldType' => 'string'), 'Amount' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotification_Model_ProviderCreditReversalDetails
  *
  * @param mixed $data
  *        	DOMElement or Associative Array to construct from.
  *        	
  *        	Valid properties:
  *        	<ul>
  *        	
  *        	<li>AmazonProviderCreditReversalId: string</li>
  *        	<li>SellerId: string</li>
  *        	<li>ProviderSellerId: string</li>
  *        	<li>CreditReversalReferenceId: string</li>
  *        	<li>CreditReversalAmount: OffAmazonPaymentsNotifications_Model_Price</li>
  *        	<li>CreationTimestamp: string</li>
  *        	<li>CreditReversalStatus: OffAmazonPaymentsNotifications_Model_Status</li>
  *        	<li>CreditReversalNote: string</li>
  *        	</ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('AmazonProviderCreditReversalId' => array('FieldValue' => null, 'FieldType' => 'string'), 'SellerId' => array('FieldValue' => null, 'FieldType' => 'string'), 'ProviderSellerId' => array('FieldValue' => null, 'FieldType' => 'string'), 'CreditReversalReferenceId' => array('FieldValue' => null, 'FieldType' => 'string'), 'CreditReversalAmount' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'), 'CreationTimestamp' => array('FieldValue' => null, 'FieldType' => 'string'), 'CreditReversalStatus' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Status'), 'CreditReversalNote' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_AuthorizationDetails
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>AmazonAuthorizationId: string</li>
  * <li>AuthorizationReferenceId: string</li>
  * <li>AuthorizationAmount: OffAmazonPaymentsNotifications_Model_Price</li>
  * <li>CapturedAmount: OffAmazonPaymentsNotifications_Model_Price</li>
  * <li>AuthorizationFee: OffAmazonPaymentsNotifications_Model_Price</li>
  * <li>IdList: OffAmazonPaymentsNotifications_Model_IdList</li>
  * <li>CreationTimestamp: string</li>
  * <li>ExpirationTimestamp: string</li>
  * <li>AddressVerificationCode: string</li>
  * <li>AuthorizationStatus: OffAmazonPaymentsNotifications_Model_Status</li>
  * <li>OrderItemCategories: 
  *     OffAmazonPaymentsNotifications_Model_OrderItemCategories</li>
  * <li>CaptureNow: bool</li>
  * <li>SoftDescriptor: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('AmazonAuthorizationId' => array('FieldValue' => null, 'FieldType' => 'string'), 'AuthorizationReferenceId' => array('FieldValue' => null, 'FieldType' => 'string'), 'AuthorizationAmount' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'), 'CapturedAmount' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'), 'AuthorizationFee' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'), 'IdList' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_IdList'), 'CreationTimestamp' => array('FieldValue' => null, 'FieldType' => 'string'), 'ExpirationTimestamp' => array('FieldValue' => null, 'FieldType' => 'string'), 'AddressVerificationCode' => array('FieldValue' => null, 'FieldType' => 'string'), 'AuthorizationStatus' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_Status'), 'OrderItemCategories' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_OrderItemCategories'), 'CaptureNow' => array('FieldValue' => null, 'FieldType' => 'bool'), 'SoftDescriptor' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new OffAmazonPaymentsNotifications_Model_MerchantRegistrationDetails
  *
  * @param mixed $data
  *        	DOMElement or Associative Array to construct from.
  *        	
  *        	Valid properties:
  *        	<ul>
  *        	
  *        	<li>SellerId: string</li>
  *        	<li>Type: string</li>
  *        	<li>Options: OffAmazonPaymentsNotifications_Model_SolutionProviderOptions</li>
  *        	
  *        	</ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('SellerId' => array('FieldValue' => null, 'FieldType' => 'string'), 'Type' => array('FieldValue' => null, 'FieldType' => 'string'), 'Options' => array('FieldValue' => null, 'FieldType' => 'OffAmazonPaymentsNotifications_Model_SolutionProviderOptions'));
     parent::__construct($data);
 }