public class PaymentSimpleType
extends java.lang.Object
Java class for paymentSimpleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="paymentSimpleType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="creditCard" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardSimpleType"/>
<element name="bankAccount" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}bankAccountType"/>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BankAccountType |
bankAccount |
protected CreditCardSimpleType |
creditCard |
| Constructor and Description |
|---|
PaymentSimpleType() |
| Modifier and Type | Method and Description |
|---|---|
BankAccountType |
getBankAccount()
Gets the value of the bankAccount property.
|
CreditCardSimpleType |
getCreditCard()
Gets the value of the creditCard property.
|
void |
setBankAccount(BankAccountType value)
Sets the value of the bankAccount property.
|
void |
setCreditCard(CreditCardSimpleType value)
Sets the value of the creditCard property.
|
protected CreditCardSimpleType creditCard
protected BankAccountType bankAccount
public CreditCardSimpleType getCreditCard()
CreditCardSimpleTypepublic void setCreditCard(CreditCardSimpleType value)
value - allowed object is
CreditCardSimpleTypepublic BankAccountType getBankAccount()
BankAccountTypepublic void setBankAccount(BankAccountType value)
value - allowed object is
BankAccountTypeCopyright © 2018. All Rights Reserved.