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_InstantOrderProcessingNotificationURLs
24
 *
25
 * Properties:
26
 * <ul>
27
 *
28
 * <li>IntegratorURL: string</li>
29
 * <li>MerchantURL: string</li>
30
 *
31
 * </ul>
32
 */
33
class CheckoutByAmazon_Service_Model_InstantOrderProcessingNotificationURLs extends CheckoutByAmazon_Service_Model
34
{
35
 
36
 
37
    /**
38
     * Construct new CheckoutByAmazon_Service_Model_InstantOrderProcessingNotificationURLs
39
     *
40
     * @param mixed $data DOMElement or Associative Array to construct from.
41
     *
42
     * Valid properties:
43
     * <ul>
44
     *
45
     * <li>IntegratorURL: string</li>
46
     * <li>MerchantURL: string</li>
47
     *
48
     * </ul>
49
     */
50
    public function __construct($data = null)
51
    {
52
        $this->_fields = array (
53
        'IntegratorURL' => array('FieldValue' => null, 'FieldType' => 'string'),
54
        'MerchantURL' => array('FieldValue' => null, 'FieldType' => 'string'),
55
        );
56
        parent::__construct($data);
57
    }
58
 
59
        /**
60
     * Gets the value of the IntegratorURL property.
61
     *
62
     * @return string IntegratorURL
63
     */
64
    public function getIntegratorURL()
65
    {
66
        return $this->_fields['IntegratorURL']['FieldValue'];
67
    }
68
 
69
    /**
70
     * Sets the value of the IntegratorURL property.
71
     *
72
     * @param string IntegratorURL
73
     * @return this instance
74
     */
75
    public function setIntegratorURL($value)
76
    {
77
        $this->_fields['IntegratorURL']['FieldValue'] = $value;
78
        return $this;
79
    }
80
 
81
 
82
    /**
83
     * Checks if IntegratorURL is set
84
     *
85
     * @return bool true if IntegratorURL  is set
86
     */
87
    public function isSetIntegratorURL()
88
    {
89
        return !is_null($this->_fields['IntegratorURL']['FieldValue']);
90
    }
91
 
92
    /**
93
     * Gets the value of the MerchantURL property.
94
     *
95
     * @return string MerchantURL
96
     */
97
    public function getMerchantURL()
98
    {
99
        return $this->_fields['MerchantURL']['FieldValue'];
100
    }
101
 
102
    /**
103
     * Sets the value of the MerchantURL property.
104
     *
105
     * @param string MerchantURL
106
     * @return this instance
107
     */
108
    public function setMerchantURL($value)
109
    {
110
        $this->_fields['MerchantURL']['FieldValue'] = $value;
111
        return $this;
112
    }
113
 
114
 
115
    /**
116
     * Checks if MerchantURL is set
117
     *
118
     * @return bool true if MerchantURL  is set
119
     */
120
    public function isSetMerchantURL()
121
    {
122
        return !is_null($this->_fields['MerchantURL']['FieldValue']);
123
    }
124
}
125
?>