public final class TestOrderPaymentMethod extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TestOrderPaymentMethod() |
Modifier and Type | Method and Description |
---|---|
TestOrderPaymentMethod |
clone() |
Integer |
getExpirationMonth()
The card expiration month (January = 1, February = 2 etc.).
|
Integer |
getExpirationYear()
The card expiration year (4-digit, e.g.
|
String |
getLastFourDigits()
The last four digits of the card number.
|
String |
getPredefinedBillingAddress()
The billing address.
|
String |
getType()
The type of instrument.
|
TestOrderPaymentMethod |
set(String fieldName,
Object value) |
TestOrderPaymentMethod |
setExpirationMonth(Integer expirationMonth)
The card expiration month (January = 1, February = 2 etc.).
|
TestOrderPaymentMethod |
setExpirationYear(Integer expirationYear)
The card expiration year (4-digit, e.g.
|
TestOrderPaymentMethod |
setLastFourDigits(String lastFourDigits)
The last four digits of the card number.
|
TestOrderPaymentMethod |
setPredefinedBillingAddress(String predefinedBillingAddress)
The billing address.
|
TestOrderPaymentMethod |
setType(String type)
The type of instrument.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Integer getExpirationMonth()
null
for nonepublic TestOrderPaymentMethod setExpirationMonth(Integer expirationMonth)
expirationMonth
- expirationMonth or null
for nonepublic Integer getExpirationYear()
null
for nonepublic TestOrderPaymentMethod setExpirationYear(Integer expirationYear)
expirationYear
- expirationYear or null
for nonepublic String getLastFourDigits()
null
for nonepublic TestOrderPaymentMethod setLastFourDigits(String lastFourDigits)
lastFourDigits
- lastFourDigits or null
for nonepublic String getPredefinedBillingAddress()
null
for nonepublic TestOrderPaymentMethod setPredefinedBillingAddress(String predefinedBillingAddress)
predefinedBillingAddress
- predefinedBillingAddress or null
for nonepublic String getType()
null
for nonepublic TestOrderPaymentMethod setType(String type)
type
- type or null
for nonepublic TestOrderPaymentMethod set(String fieldName, Object value)
set
in class GenericJson
public TestOrderPaymentMethod clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.