PaymentDatapublic class ApplePay extends Object implements PaymentData
| Constructor | Description |
|---|---|
ApplePay(String applepayToken,
String cardholder) |
| Modifier and Type | Method | Description |
|---|---|---|
ApplePay |
addAddress(String country,
String state,
String city,
String line1,
String line2,
String postalCode) |
Deprecated.
|
ApplePay |
addAddress(Country country,
String state,
String city,
String line1,
String line2,
String postalCode) |
|
ApplePay |
addPhoneNumber(PhoneNumber phoneNumber) |
|
String |
getApplepayToken() |
|
String |
getCardholder() |
|
String |
getCity() |
|
String |
getCountry() |
The returned type will be changed to
Country on later release |
Country |
getCountryEnum() |
This method will be deleted when the returned type by "getCountry(String)" is changed to
Country |
String |
getLine1() |
|
String |
getLine2() |
|
PaymentTypeName |
getPaymentType() |
|
PhoneNumber |
getPhoneNumber() |
|
String |
getPostalCode() |
|
String |
getState() |
public String getApplepayToken()
public String getCardholder()
public String getLine1()
public String getLine2()
public String getState()
public String getCity()
public String getCountry()
Country on later releasepublic Country getCountryEnum()
Countrypublic String getPostalCode()
public PhoneNumber getPhoneNumber()
@Deprecated public ApplePay addAddress(String country, String state, String city, String line1, String line2, String postalCode)
public ApplePay addAddress(Country country, String state, String city, String line1, String line2, String postalCode)
public ApplePay addPhoneNumber(PhoneNumber phoneNumber)
public PaymentTypeName getPaymentType()
getPaymentType in interface PaymentDataCopyright © 2018 The Apache Software Foundation. All rights reserved.