Class MyPayment
java.lang.Object
com.commercetools.graphql.api.types.MyPayment
My Payments endpoint provides access to payments scoped to a specific user.
[documentation](https://docs.commercetools.com/api/projects/me-payments#mypayment)
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMyPayment(String id, Long version, Reference customerRef, Customer customer, String anonymousId, PaymentMethodInfo paymentMethodInfo, Money amountPlanned, List<Transaction> transactions, CustomFieldsType custom) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()inthashCode()static MyPayment.BuildervoidsetAmountPlanned(Money amountPlanned) voidsetAnonymousId(String anonymousId) voidsetCustom(CustomFieldsType custom) voidsetCustomer(Customer customer) voidsetCustomerRef(Reference customerRef) voidvoidsetPaymentMethodInfo(PaymentMethodInfo paymentMethodInfo) voidsetTransactions(List<Transaction> transactions) voidsetVersion(Long version) toString()
-
Constructor Details
-
MyPayment
public MyPayment() -
MyPayment
public MyPayment(String id, Long version, Reference customerRef, Customer customer, String anonymousId, PaymentMethodInfo paymentMethodInfo, Money amountPlanned, List<Transaction> transactions, CustomFieldsType custom)
-
-
Method Details
-
getId
-
setId
-
getVersion
-
setVersion
-
getCustomerRef
-
setCustomerRef
-
getCustomer
-
setCustomer
-
getAnonymousId
-
setAnonymousId
-
getPaymentMethodInfo
-
setPaymentMethodInfo
-
getAmountPlanned
-
setAmountPlanned
-
getTransactions
-
setTransactions
-
getCustom
-
setCustom
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-