Class PaymentPlan
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.PaymentPlan
Defines a plan for payment (when a party wants to spread his payments)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity nameNumber of payments used to spread the global paymentFrequency of the payments, such as monthly and bimonthly@Valid PaymentMethodRefGet paymentMethodType of payment planPriority of the payment planStatus of the payment plan (effective, ineffective)@Valid MoneyGet totalAmount@Valid TimePeriodGet validForinthashCode()numberOfPayments(Integer numberOfPayments) paymentFrequency(String paymentFrequency) paymentMethod(PaymentMethodRef paymentMethod) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetNumberOfPayments(Integer numberOfPayments) voidsetPaymentFrequency(String paymentFrequency) voidsetPaymentMethod(PaymentMethodRef paymentMethod) voidsetPlanType(String planType) voidsetPriority(Integer priority) voidvoidsetTotalAmount(Money totalAmount) voidsetValidFor(TimePeriod validFor) toString()totalAmount(Money totalAmount) validFor(TimePeriod validFor)
-
Constructor Details
-
PaymentPlan
public PaymentPlan()
-
-
Method Details
-
numberOfPayments
-
getNumberOfPayments
Number of payments used to spread the global payment- Returns:
- numberOfPayments
-
setNumberOfPayments
-
paymentFrequency
-
getPaymentFrequency
Frequency of the payments, such as monthly and bimonthly- Returns:
- paymentFrequency
-
setPaymentFrequency
-
planType
-
getPlanType
Type of payment plan- Returns:
- planType
-
setPlanType
-
priority
-
getPriority
Priority of the payment plan- Returns:
- priority
-
setPriority
-
status
-
getStatus
Status of the payment plan (effective, ineffective)- Returns:
- status
-
setStatus
-
paymentMethod
-
getPaymentMethod
Get paymentMethod- Returns:
- paymentMethod
-
setPaymentMethod
-
totalAmount
-
getTotalAmount
Get totalAmount- Returns:
- totalAmount
-
setTotalAmount
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-