Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/*******************************************************************************
3
 *  Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
 *  Licensed under the Apache License, Version 2.0 (the "License");
5
 *
6
 *  You may not use this file except in compliance with the License.
7
 *  You may obtain a copy of the License at: http://aws.amazon.com/apache2.0
8
 *  This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
 *  CONDITIONS OF ANY KIND, either express or implied. See the License for the
10
 *  specific language governing permissions and limitations under the License.
11
 * *****************************************************************************
12
 */
13
 
14
 
15
/**
16
 *  @see CheckoutByAmazon_Service_Model
17
 */
18
require_once ('CheckoutByAmazon/Service/Model.php');
19
 
20
 
21
 
22
/**
23
 * CheckoutByAmazon_Service_Model_CompletePurchaseContractRequest
24
 *
25
 * Properties:
26
 * <ul>
27
 *
28
 * <li>PurchaseContractId: string</li>
29
 * <li>IntegratorId: string</li>
30
 * <li>IntegratorName: string</li>
31
 * <li>InstantOrderProcessingNotificationURLs: CheckoutByAmazon_Service_Model_InstantOrderProcessingNotificationURLs</li>
32
 *
33
 * </ul>
34
 */
35
class CheckoutByAmazon_Service_Model_CompletePurchaseContractRequest extends CheckoutByAmazon_Service_Model
36
{
37
 
38
 
39
    /**
40
     * Construct new CheckoutByAmazon_Service_Model_CompletePurchaseContractRequest
41
     *
42
     * @param mixed $data DOMElement or Associative Array to construct from.
43
     *
44
     * Valid properties:
45
     * <ul>
46
     *
47
     * <li>PurchaseContractId: string</li>
48
     * <li>IntegratorId: string</li>
49
     * <li>IntegratorName: string</li>
50
     * <li>InstantOrderProcessingNotificationURLs: CheckoutByAmazon_Service_Model_InstantOrderProcessingNotificationURLs</li>
51
     *
52
     * </ul>
53
     */
54
    public function __construct($data = null)
55
    {
56
        $this->_fields = array (
57
        'PurchaseContractId' => array('FieldValue' => null, 'FieldType' => 'string'),
58
        'IntegratorId' => array('FieldValue' => null, 'FieldType' => 'string'),
59
        'IntegratorName' => array('FieldValue' => null, 'FieldType' => 'string'),
60
        'InstantOrderProcessingNotificationURLs' => array('FieldValue' => null, 'FieldType' => 'CheckoutByAmazon_Service_Model_InstantOrderProcessingNotificationURLs'),
61
        );
62
        parent::__construct($data);
63
    }
64
 
65
        /**
66
     * Gets the value of the PurchaseContractId property.
67
     *
68
     * @return string PurchaseContractId
69
     */
70
    public function getPurchaseContractId()
71
    {
72
        return $this->_fields['PurchaseContractId']['FieldValue'];
73
    }
74
 
75
    /**
76
     * Sets the value of the PurchaseContractId property.
77
     *
78
     * @param string PurchaseContractId
79
     * @return this instance
80
     */
81
    public function setPurchaseContractId($value)
82
    {
83
        $this->_fields['PurchaseContractId']['FieldValue'] = $value;
84
        return $this;
85
    }
86
 
87
 
88
    /**
89
     * Checks if PurchaseContractId is set
90
     *
91
     * @return bool true if PurchaseContractId  is set
92
     */
93
    public function isSetPurchaseContractId()
94
    {
95
        return !is_null($this->_fields['PurchaseContractId']['FieldValue']);
96
    }
97
 
98
    /**
99
     * Gets the value of the IntegratorId property.
100
     *
101
     * @return string IntegratorId
102
     */
103
    public function getIntegratorId()
104
    {
105
        return $this->_fields['IntegratorId']['FieldValue'];
106
    }
107
 
108
    /**
109
     * Sets the value of the IntegratorId property.
110
     *
111
     * @param string IntegratorId
112
     * @return this instance
113
     */
114
    public function setIntegratorId($value)
115
    {
116
        $this->_fields['IntegratorId']['FieldValue'] = $value;
117
        return $this;
118
    }
119
 
120
 
121
    /**
122
     * Checks if IntegratorId is set
123
     *
124
     * @return bool true if IntegratorId  is set
125
     */
126
    public function isSetIntegratorId()
127
    {
128
        return !is_null($this->_fields['IntegratorId']['FieldValue']);
129
    }
130
 
131
    /**
132
     * Gets the value of the IntegratorName property.
133
     *
134
     * @return string IntegratorName
135
     */
136
    public function getIntegratorName()
137
    {
138
        return $this->_fields['IntegratorName']['FieldValue'];
139
    }
140
 
141
    /**
142
     * Sets the value of the IntegratorName property.
143
     *
144
     * @param string IntegratorName
145
     * @return this instance
146
     */
147
    public function setIntegratorName($value)
148
    {
149
        $this->_fields['IntegratorName']['FieldValue'] = $value;
150
        return $this;
151
    }
152
 
153
 
154
    /**
155
     * Checks if IntegratorName is set
156
     *
157
     * @return bool true if IntegratorName  is set
158
     */
159
    public function isSetIntegratorName()
160
    {
161
        return !is_null($this->_fields['IntegratorName']['FieldValue']);
162
    }
163
 
164
    /**
165
     * Gets the value of the InstantOrderProcessingNotificationURLs.
166
     *
167
     * @return InstantOrderProcessingNotificationURLs InstantOrderProcessingNotificationURLs
168
     */
169
    public function getInstantOrderProcessingNotificationURLs()
170
    {
171
        return $this->_fields['InstantOrderProcessingNotificationURLs']['FieldValue'];
172
    }
173
 
174
    /**
175
     * Sets the value of the InstantOrderProcessingNotificationURLs.
176
     *
177
     * @param InstantOrderProcessingNotificationURLs InstantOrderProcessingNotificationURLs
178
     * @return void
179
     */
180
    public function setInstantOrderProcessingNotificationURLs($value)
181
    {
182
        $this->_fields['InstantOrderProcessingNotificationURLs']['FieldValue'] = $value;
183
        return;
184
    }
185
 
186
    /**
187
     * Checks if InstantOrderProcessingNotificationURLs  is set
188
     *
189
     * @return bool true if InstantOrderProcessingNotificationURLs property is set
190
     */
191
    public function isSetInstantOrderProcessingNotificationURLs()
192
    {
193
        return !is_null($this->_fields['InstantOrderProcessingNotificationURLs']['FieldValue']);
194
 
195
    }
196
 
197
}
198
?>