Class AppliedCustomerBillingRate
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.AppliedCustomerBillingRate
A customer bill displays applied billing rates created before or during the billing process.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAppliedTaxItem(AppliedBillingTaxRate appliedTaxItem) addCharacteristicItem(AppliedBillingRateCharacteristic characteristicItem) appliedTax(List<AppliedBillingTaxRate> appliedTax) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) bill(CustomerBillRef bill) billingAccount(BillingAccountRef billingAccount) characteristic(List<AppliedBillingRateCharacteristic> characteristic) description(String description) boolean@Valid List<AppliedBillingTaxRate>Get appliedTaxWhen 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 name@Valid CustomerBillRefgetBill()Get bill@Valid BillingAccountRefGet billingAccount@Valid List<AppliedBillingRateCharacteristic>Get characteristic@Valid DategetDate()Creation date of the applied billing rateAdditional data to be displayed on the bill for this customer applied billing rategetHref()Reference of the customer applied billing rate@NotNull StringgetId()Unique identifier of the customer applied billing rategetName()Name of the customer applied billing rate@Valid TimePeriodGet periodCoverage@Valid ProductRefGet product@Valid MoneyGet taxExcludedAmount@Valid MoneyGet taxIncludedAmountgetType()Type of the applied billing rate : appliedBillingCharge (any kind of charge except taxation charges : recurringCharge, oneTimeCharge, usageCharge), appliedBillingCredit (any kind of credit : rebate or productAlteration) or appliedPenaltyCharge (penalty charges such as late fees, payment rejection fees,...)inthashCode()If isBilled = true then bill should be provided, if false then billingAccount should be providedperiodCoverage(TimePeriod periodCoverage) product(ProductRef product) voidsetAppliedTax(List<AppliedBillingTaxRate> appliedTax) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetBill(CustomerBillRef bill) voidsetBillingAccount(BillingAccountRef billingAccount) voidsetCharacteristic(List<AppliedBillingRateCharacteristic> characteristic) voidvoidsetDescription(String description) voidvoidvoidsetIsBilled(Boolean isBilled) voidvoidsetPeriodCoverage(TimePeriod periodCoverage) voidsetProduct(ProductRef product) voidsetTaxExcludedAmount(Money taxExcludedAmount) voidsetTaxIncludedAmount(Money taxIncludedAmount) voidtaxExcludedAmount(Money taxExcludedAmount) taxIncludedAmount(Money taxIncludedAmount) toString()
-
Constructor Details
-
AppliedCustomerBillingRate
public AppliedCustomerBillingRate()
-
-
Method Details
-
id
-
getId
Unique identifier of the customer applied billing rate- Returns:
- id
-
setId
-
href
-
getHref
Reference of the customer applied billing rate- Returns:
- href
-
setHref
-
date
-
getDate
Creation date of the applied billing rate- Returns:
- date
-
setDate
-
description
-
getDescription
Additional data to be displayed on the bill for this customer applied billing rate- Returns:
- description
-
setDescription
-
isBilled
-
isIsBilled
If isBilled = true then bill should be provided, if false then billingAccount should be provided- Returns:
- isBilled
-
setIsBilled
-
name
-
getName
Name of the customer applied billing rate- Returns:
- name
-
setName
-
type
-
getType
Type of the applied billing rate : appliedBillingCharge (any kind of charge except taxation charges : recurringCharge, oneTimeCharge, usageCharge), appliedBillingCredit (any kind of credit : rebate or productAlteration) or appliedPenaltyCharge (penalty charges such as late fees, payment rejection fees,...)- Returns:
- type
-
setType
-
appliedTax
-
addAppliedTaxItem
-
getAppliedTax
Get appliedTax- Returns:
- appliedTax
-
setAppliedTax
-
bill
-
getBill
Get bill- Returns:
- bill
-
setBill
-
billingAccount
-
getBillingAccount
Get billingAccount- Returns:
- billingAccount
-
setBillingAccount
-
characteristic
public AppliedCustomerBillingRate characteristic(List<AppliedBillingRateCharacteristic> characteristic) -
addCharacteristicItem
public AppliedCustomerBillingRate addCharacteristicItem(AppliedBillingRateCharacteristic characteristicItem) -
getCharacteristic
Get characteristic- Returns:
- characteristic
-
setCharacteristic
-
periodCoverage
-
getPeriodCoverage
Get periodCoverage- Returns:
- periodCoverage
-
setPeriodCoverage
-
product
-
getProduct
Get product- Returns:
- product
-
setProduct
-
taxExcludedAmount
-
getTaxExcludedAmount
Get taxExcludedAmount- Returns:
- taxExcludedAmount
-
setTaxExcludedAmount
-
taxIncludedAmount
-
getTaxIncludedAmount
Get taxIncludedAmount- Returns:
- taxIncludedAmount
-
setTaxIncludedAmount
-
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
-