Brak opisu

OrderPaymentMethod.php 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. class Google_Service_ShoppingContent_OrderPaymentMethod extends Google_Model
  18. {
  19. protected $billingAddressType = 'Google_Service_ShoppingContent_OrderAddress';
  20. protected $billingAddressDataType = '';
  21. public $expirationMonth;
  22. public $expirationYear;
  23. public $lastFourDigits;
  24. public $phoneNumber;
  25. public $type;
  26. /**
  27. * @param Google_Service_ShoppingContent_OrderAddress
  28. */
  29. public function setBillingAddress(Google_Service_ShoppingContent_OrderAddress $billingAddress)
  30. {
  31. $this->billingAddress = $billingAddress;
  32. }
  33. /**
  34. * @return Google_Service_ShoppingContent_OrderAddress
  35. */
  36. public function getBillingAddress()
  37. {
  38. return $this->billingAddress;
  39. }
  40. public function setExpirationMonth($expirationMonth)
  41. {
  42. $this->expirationMonth = $expirationMonth;
  43. }
  44. public function getExpirationMonth()
  45. {
  46. return $this->expirationMonth;
  47. }
  48. public function setExpirationYear($expirationYear)
  49. {
  50. $this->expirationYear = $expirationYear;
  51. }
  52. public function getExpirationYear()
  53. {
  54. return $this->expirationYear;
  55. }
  56. public function setLastFourDigits($lastFourDigits)
  57. {
  58. $this->lastFourDigits = $lastFourDigits;
  59. }
  60. public function getLastFourDigits()
  61. {
  62. return $this->lastFourDigits;
  63. }
  64. public function setPhoneNumber($phoneNumber)
  65. {
  66. $this->phoneNumber = $phoneNumber;
  67. }
  68. public function getPhoneNumber()
  69. {
  70. return $this->phoneNumber;
  71. }
  72. public function setType($type)
  73. {
  74. $this->type = $type;
  75. }
  76. public function getType()
  77. {
  78. return $this->type;
  79. }
  80. }