Class PaymentMethodType
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.PaymentMethodType
@Validated
@Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
date="2022-10-21T20:34:47.671Z")
public class PaymentMethodType
extends Object
Defines a specific method of payment (e.g. direct debit with all details associated)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of payment method (e.g.: bank card, cash, voucher…). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccount(List<AccountRefType> account) addAccountItem(AccountRefType accountItem) attype(PaymentMethodType.AttypeEnum attype) authorizationCode(String authorizationCode) description(String description) details(CreditCardType details) boolean@Valid List<AccountRefType>Reference to the accounts that are linked to the payment method.@NotNull PaymentMethodType.AttypeEnumType of payment method (e.g.: bank card, cash, voucher…).Review: Authorization code provided by a financial institution.Text description of the contents of the payment method@NotNull @Valid CreditCardTypeDetails of the payment method.getHref()URI where to perform actions on the payment methodgetId()Unique id of the payment method in the server@NotNull StringgetName()Friendly name assigned to the payment method@Valid RelatedPartyRefTypeReference to the customer or party that owns that payment method or can use it.Status of the payment method@Valid DateThe last time the payment method status changed.The reason for the last status change.@Valid TimePeriodTypeDate interval in which the payment method is validinthashCode()If the method is the preferred one by the owner.relatedParty(RelatedPartyRefType relatedParty) voidsetAccount(List<AccountRefType> account) voidvoidsetAuthorizationCode(String authorizationCode) voidsetDescription(String description) voidsetDetails(CreditCardType details) voidvoidvoidvoidsetPreferred(Boolean preferred) voidsetRelatedParty(RelatedPartyRefType relatedParty) voidvoidsetStatusDate(Date statusDate) voidsetStatusReason(String statusReason) voidsetValidFor(TimePeriodType validFor) statusDate(Date statusDate) statusReason(String statusReason) toString()validFor(TimePeriodType validFor)
-
Constructor Details
-
PaymentMethodType
public PaymentMethodType()
-
-
Method Details
-
id
-
getId
Unique id of the payment method in the server- Returns:
- id
-
setId
-
href
-
getHref
URI where to perform actions on the payment method- Returns:
- href
-
setHref
-
name
-
getName
Friendly name assigned to the payment method- Returns:
- name
-
setName
-
description
-
getDescription
Text description of the contents of the payment method- Returns:
- description
-
setDescription
-
preferred
-
isPreferred
If the method is the preferred one by the owner. Typically used when querying for the payment methods of a specific customer or account- Returns:
- preferred
-
setPreferred
-
authorizationCode
-
getAuthorizationCode
Review: 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
Status of the payment method- Returns:
- status
-
setStatus
-
statusDate
-
getStatusDate
The last time the payment method status changed.- Returns:
- statusDate
-
setStatusDate
-
statusReason
-
getStatusReason
The reason for the last status change.- Returns:
- statusReason
-
setStatusReason
-
validFor
-
getValidFor
Date interval in which the payment method is valid- Returns:
- validFor
-
setValidFor
-
attype
-
getAttype
Type of payment method (e.g.: bank card, cash, voucher…). The details field type depends on the value assigned to this one.- Returns:
- attype
-
setAttype
-
details
-
getDetails
Details of the payment method. This object's type depends on the value of the type field above- Returns:
- details
-
setDetails
-
getRelatedParty
Reference to the customer or party that owns that payment method or can use it.- Returns:
- relatedParty
-
setRelatedParty
-
account
-
addAccountItem
-
getAccount
Reference to the accounts that are linked to the payment method. May be a party account or a financial account.- Returns:
- account
-
setAccount
-
equals
-
hashCode
public int hashCode() -
toString
-