Class PaymentMethodRequestType
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.PaymentMethodRequestType
Request for the creation or modification of a payment method. It contains the same fields as paymentMethodType except the ones assigned by the server
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPayment method type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccount(List<AccountRefType> account) addAccountItem(AccountRefType accountItem) addRelatedPartyItem(RelatedPartyRefType relatedPartyItem) authorizationCode(String authorizationCode) description(String description) boolean@Valid List<AccountRefType>Account that owns or can use the payment methodAuthorization code provided by a financial institution.Description of the payment method@NotNull ObjectDetails of the payment method.getName()Screen name of the payment method@Valid List<RelatedPartyRefType>Account that owns the payment methodCurrent status of the payment method@NotNull PaymentMethodRequestType.TypeEnumgetType()Payment method type.@Valid TimePeriodTypeGet validForinthashCode()Defines whether this particular method is the preferred onerelatedParty(List<RelatedPartyRefType> relatedParty) voidsetAccount(List<AccountRefType> account) voidsetAuthorizationCode(String authorizationCode) voidsetDescription(String description) voidsetDetails(Object details) voidvoidsetPreferred(Boolean preferred) voidsetRelatedParty(List<RelatedPartyRefType> relatedParty) voidvoidvoidsetValidFor(TimePeriodType validFor) toString()validFor(TimePeriodType validFor)
-
Constructor Details
-
PaymentMethodRequestType
public PaymentMethodRequestType()
-
-
Method Details
-
name
-
getName
Screen name of the payment method- Returns:
- name
-
setName
-
description
-
getDescription
Description of the payment method- Returns:
- description
-
setDescription
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
preferred
-
isPreferred
Defines whether this particular method is the preferred one- Returns:
- preferred
-
setPreferred
-
account
-
addAccountItem
-
getAccount
Account that owns or can use the payment method- Returns:
- account
-
setAccount
-
addRelatedPartyItem
-
getRelatedParty
Account that owns the payment method- Returns:
- relatedParty
-
setRelatedParty
-
type
-
getType
Payment method type. The content of the details field depends on the value of this one- Returns:
- type
-
setType
-
authorizationCode
-
getAuthorizationCode
Authorization code provided by a financial institution. Typically this would be populated for recurring payments using the method, as payments have an authorization code of their own.- Returns:
- authorizationCode
-
setAuthorizationCode
-
status
-
getStatus
Current status of the payment method- Returns:
- status
-
setStatus
-
details
-
getDetails
Details of the payment method. This object's type depends on the value of the type field above- Returns:
- details
-
setDetails
-
equals
-
hashCode
public int hashCode() -
toString
-