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 OrdersInStoreRefundLineItemRequest extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $lineItemId;
26  /**
27   * @var string
28   */
29  public $operationId;
30  protected $priceAmountType = Price::class;
31  protected $priceAmountDataType = '';
32  /**
33   * @var string
34   */
35  public $productId;
36  /**
37   * @var string
38   */
39  public $quantity;
40  /**
41   * @var string
42   */
43  public $reason;
44  /**
45   * @var string
46   */
47  public $reasonText;
48  protected $taxAmountType = Price::class;
49  protected $taxAmountDataType = '';
50
51  /**
52   * @param string
53   */
54  public function setLineItemId($lineItemId)
55  {
56    $this->lineItemId = $lineItemId;
57  }
58  /**
59   * @return string
60   */
61  public function getLineItemId()
62  {
63    return $this->lineItemId;
64  }
65  /**
66   * @param string
67   */
68  public function setOperationId($operationId)
69  {
70    $this->operationId = $operationId;
71  }
72  /**
73   * @return string
74   */
75  public function getOperationId()
76  {
77    return $this->operationId;
78  }
79  /**
80   * @param Price
81   */
82  public function setPriceAmount(Price $priceAmount)
83  {
84    $this->priceAmount = $priceAmount;
85  }
86  /**
87   * @return Price
88   */
89  public function getPriceAmount()
90  {
91    return $this->priceAmount;
92  }
93  /**
94   * @param string
95   */
96  public function setProductId($productId)
97  {
98    $this->productId = $productId;
99  }
100  /**
101   * @return string
102   */
103  public function getProductId()
104  {
105    return $this->productId;
106  }
107  /**
108   * @param string
109   */
110  public function setQuantity($quantity)
111  {
112    $this->quantity = $quantity;
113  }
114  /**
115   * @return string
116   */
117  public function getQuantity()
118  {
119    return $this->quantity;
120  }
121  /**
122   * @param string
123   */
124  public function setReason($reason)
125  {
126    $this->reason = $reason;
127  }
128  /**
129   * @return string
130   */
131  public function getReason()
132  {
133    return $this->reason;
134  }
135  /**
136   * @param string
137   */
138  public function setReasonText($reasonText)
139  {
140    $this->reasonText = $reasonText;
141  }
142  /**
143   * @return string
144   */
145  public function getReasonText()
146  {
147    return $this->reasonText;
148  }
149  /**
150   * @param Price
151   */
152  public function setTaxAmount(Price $taxAmount)
153  {
154    $this->taxAmount = $taxAmount;
155  }
156  /**
157   * @return Price
158   */
159  public function getTaxAmount()
160  {
161    return $this->taxAmount;
162  }
163}
164
165// Adding a class alias for backwards compatibility with the previous class name.
166class_alias(OrdersInStoreRefundLineItemRequest::class, 'Google_Service_ShoppingContent_OrdersInStoreRefundLineItemRequest');
167