Class SettlementAccount

java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.SettlementAccount

public class SettlementAccount extends Object
A party account used for settlement purposes. It includes a description of the bill structure (frequency, presentation media, format and so on). It is a specialization of entity PartyAccount.
  • Constructor Details

    • SettlementAccount

      public SettlementAccount()
  • Method Details

    • id

      public SettlementAccount id(String id)
    • getId

      public String getId()
      Unique identifier of the account
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public SettlementAccount href(String href)
    • getHref

      public String getHref()
      Unique reference of the account
      Returns:
      href
    • setHref

      public void setHref(String href)
    • accountType

      public SettlementAccount accountType(String accountType)
    • getAccountType

      public String getAccountType()
      A categorization of an account, such as individual, joint, and so forth, whose instances share some of the same characteristics. Note: for flexibility we use a String here but an implementation may use an enumeration with a limited list of valid values.
      Returns:
      accountType
    • setAccountType

      public void setAccountType(String accountType)
    • description

      public SettlementAccount description(String description)
    • getDescription

      public String getDescription()
      Detailed description of the party account
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • lastModified

      public SettlementAccount lastModified(Date lastModified)
    • getLastModified

      @Valid public @Valid Date getLastModified()
      Date of last modification of the account
      Returns:
      lastModified
    • setLastModified

      public void setLastModified(Date lastModified)
    • name

      public SettlementAccount name(String name)
    • getName

      @NotNull public @NotNull String getName()
      Name of the account
      Returns:
      name
    • setName

      public void setName(String name)
    • paymentStatus

      public SettlementAccount paymentStatus(String paymentStatus)
    • getPaymentStatus

      public String getPaymentStatus()
      The condition of the account, such as due, paid, in arrears.
      Returns:
      paymentStatus
    • setPaymentStatus

      public void setPaymentStatus(String paymentStatus)
    • state

      public SettlementAccount state(String state)
    • getState

      public String getState()
      Contains the lifecycle state such as: Active, Closed, Suspended and so on.
      Returns:
      state
    • setState

      public void setState(String state)
    • accountBalance

      public SettlementAccount accountBalance(List<AccountBalance> accountBalance)
    • addAccountBalanceItem

      public SettlementAccount addAccountBalanceItem(AccountBalance accountBalanceItem)
    • getAccountBalance

      @Valid public @Valid List<AccountBalance> getAccountBalance()
      Get accountBalance
      Returns:
      accountBalance
    • setAccountBalance

      public void setAccountBalance(List<AccountBalance> accountBalance)
    • accountRelationship

      public SettlementAccount accountRelationship(List<AccountRelationship> accountRelationship)
    • addAccountRelationshipItem

      public SettlementAccount addAccountRelationshipItem(AccountRelationship accountRelationshipItem)
    • getAccountRelationship

      @Valid public @Valid List<AccountRelationship> getAccountRelationship()
      Get accountRelationship
      Returns:
      accountRelationship
    • setAccountRelationship

      public void setAccountRelationship(List<AccountRelationship> accountRelationship)
    • billStructure

      public SettlementAccount billStructure(BillStructure billStructure)
    • getBillStructure

      @Valid public @Valid BillStructure getBillStructure()
      Get billStructure
      Returns:
      billStructure
    • setBillStructure

      public void setBillStructure(BillStructure billStructure)
    • contact

      public SettlementAccount contact(List<Contact> contact)
    • addContactItem

      public SettlementAccount addContactItem(Contact contactItem)
    • getContact

      @Valid public @Valid List<Contact> getContact()
      Get contact
      Returns:
      contact
    • setContact

      public void setContact(List<Contact> contact)
    • creditLimit

      public SettlementAccount creditLimit(Money creditLimit)
    • getCreditLimit

      @Valid public @Valid Money getCreditLimit()
      Get creditLimit
      Returns:
      creditLimit
    • setCreditLimit

      public void setCreditLimit(Money creditLimit)
    • defaultPaymentMethod

      public SettlementAccount defaultPaymentMethod(PaymentMethodRef defaultPaymentMethod)
    • getDefaultPaymentMethod

      @Valid public @Valid PaymentMethodRef getDefaultPaymentMethod()
      Get defaultPaymentMethod
      Returns:
      defaultPaymentMethod
    • setDefaultPaymentMethod

      public void setDefaultPaymentMethod(PaymentMethodRef defaultPaymentMethod)
    • financialAccount

      public SettlementAccount financialAccount(FinancialAccountRef financialAccount)
    • getFinancialAccount

      @Valid public @Valid FinancialAccountRef getFinancialAccount()
      Get financialAccount
      Returns:
      financialAccount
    • setFinancialAccount

      public void setFinancialAccount(FinancialAccountRef financialAccount)
    • paymentPlan

      public SettlementAccount paymentPlan(List<PaymentPlan> paymentPlan)
    • addPaymentPlanItem

      public SettlementAccount addPaymentPlanItem(PaymentPlan paymentPlanItem)
    • getPaymentPlan

      @Valid public @Valid List<PaymentPlan> getPaymentPlan()
      Get paymentPlan
      Returns:
      paymentPlan
    • setPaymentPlan

      public void setPaymentPlan(List<PaymentPlan> paymentPlan)
    • relatedParty

      public SettlementAccount relatedParty(List<RelatedParty> relatedParty)
    • addRelatedPartyItem

      public SettlementAccount addRelatedPartyItem(RelatedParty relatedPartyItem)
    • getRelatedParty

      @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) List<RelatedParty> getRelatedParty()
      Get relatedParty
      Returns:
      relatedParty
    • setRelatedParty

      public void setRelatedParty(List<RelatedParty> relatedParty)
    • taxExemption

      public SettlementAccount taxExemption(List<AccountTaxExemption> taxExemption)
    • addTaxExemptionItem

      public SettlementAccount addTaxExemptionItem(AccountTaxExemption taxExemptionItem)
    • getTaxExemption

      @Valid public @Valid List<AccountTaxExemption> getTaxExemption()
      Get taxExemption
      Returns:
      taxExemption
    • setTaxExemption

      public void setTaxExemption(List<AccountTaxExemption> taxExemption)
    • atBaseType

      public SettlementAccount atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public SettlementAccount atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public SettlementAccount atType(String atType)
    • getAtType

      public String getAtType()
      When sub-classing, this defines the sub-class entity name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object