1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\ShoppingContent;
19
20class OrderReportTransaction extends \Google\Model
21{
22  protected $disbursementAmountType = Price::class;
23  protected $disbursementAmountDataType = '';
24  /**
25   * @var string
26   */
27  public $disbursementCreationDate;
28  /**
29   * @var string
30   */
31  public $disbursementDate;
32  /**
33   * @var string
34   */
35  public $disbursementId;
36  /**
37   * @var string
38   */
39  public $merchantId;
40  /**
41   * @var string
42   */
43  public $merchantOrderId;
44  /**
45   * @var string
46   */
47  public $orderId;
48  protected $productAmountType = ProductAmount::class;
49  protected $productAmountDataType = '';
50  /**
51   * @var string
52   */
53  public $transactionDate;
54
55  /**
56   * @param Price
57   */
58  public function setDisbursementAmount(Price $disbursementAmount)
59  {
60    $this->disbursementAmount = $disbursementAmount;
61  }
62  /**
63   * @return Price
64   */
65  public function getDisbursementAmount()
66  {
67    return $this->disbursementAmount;
68  }
69  /**
70   * @param string
71   */
72  public function setDisbursementCreationDate($disbursementCreationDate)
73  {
74    $this->disbursementCreationDate = $disbursementCreationDate;
75  }
76  /**
77   * @return string
78   */
79  public function getDisbursementCreationDate()
80  {
81    return $this->disbursementCreationDate;
82  }
83  /**
84   * @param string
85   */
86  public function setDisbursementDate($disbursementDate)
87  {
88    $this->disbursementDate = $disbursementDate;
89  }
90  /**
91   * @return string
92   */
93  public function getDisbursementDate()
94  {
95    return $this->disbursementDate;
96  }
97  /**
98   * @param string
99   */
100  public function setDisbursementId($disbursementId)
101  {
102    $this->disbursementId = $disbursementId;
103  }
104  /**
105   * @return string
106   */
107  public function getDisbursementId()
108  {
109    return $this->disbursementId;
110  }
111  /**
112   * @param string
113   */
114  public function setMerchantId($merchantId)
115  {
116    $this->merchantId = $merchantId;
117  }
118  /**
119   * @return string
120   */
121  public function getMerchantId()
122  {
123    return $this->merchantId;
124  }
125  /**
126   * @param string
127   */
128  public function setMerchantOrderId($merchantOrderId)
129  {
130    $this->merchantOrderId = $merchantOrderId;
131  }
132  /**
133   * @return string
134   */
135  public function getMerchantOrderId()
136  {
137    return $this->merchantOrderId;
138  }
139  /**
140   * @param string
141   */
142  public function setOrderId($orderId)
143  {
144    $this->orderId = $orderId;
145  }
146  /**
147   * @return string
148   */
149  public function getOrderId()
150  {
151    return $this->orderId;
152  }
153  /**
154   * @param ProductAmount
155   */
156  public function setProductAmount(ProductAmount $productAmount)
157  {
158    $this->productAmount = $productAmount;
159  }
160  /**
161   * @return ProductAmount
162   */
163  public function getProductAmount()
164  {
165    return $this->productAmount;
166  }
167  /**
168   * @param string
169   */
170  public function setTransactionDate($transactionDate)
171  {
172    $this->transactionDate = $transactionDate;
173  }
174  /**
175   * @return string
176   */
177  public function getTransactionDate()
178  {
179    return $this->transactionDate;
180  }
181}
182
183// Adding a class alias for backwards compatibility with the previous class name.
184class_alias(OrderReportTransaction::class, 'Google_Service_ShoppingContent_OrderReportTransaction');
185