java.lang.Object
de.hybris.platform.billingaccounttmfwebservices.v1.dto.PartyAccount

@Validated @Generated(value="de.hybris.platform.billingaccounttmfwebservices.swagger.BaBillingAccountCodegen", date="2022-10-21T20:35:18.164Z") public class PartyAccount extends Object
Account used for billing or for settlement purposes concerning a given party (an organization or an individual). It is a specialization of entity Account.
  • Constructor Details

    • PartyAccount

      public PartyAccount()
  • Method Details

    • id

      public PartyAccount id(String id)
    • getId

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

      public void setId(String id)
    • href

      public PartyAccount href(String href)
    • getHref

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

      public void setHref(String href)
    • accountType

      public PartyAccount 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 PartyAccount description(String description)
    • getDescription

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

      public void setDescription(String description)
    • lastModified

      public PartyAccount 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 PartyAccount name(String name)
    • getName

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

      public void setName(String name)
    • paymentStatus

      public PartyAccount 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 PartyAccount 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 PartyAccount accountBalance(List<AccountBalance> accountBalance)
    • addAccountBalanceItem

      public PartyAccount addAccountBalanceItem(AccountBalance accountBalanceItem)
    • getAccountBalance

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

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

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

      public PartyAccount addAccountRelationshipItem(AccountRelationship accountRelationshipItem)
    • getAccountRelationship

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

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

      public PartyAccount billStructure(BillStructure billStructure)
    • getBillStructure

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

      public void setBillStructure(BillStructure billStructure)
    • contact

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

      public PartyAccount addContactItem(Contact contactItem)
    • getContact

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

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

      public PartyAccount creditLimit(Money creditLimit)
    • getCreditLimit

      @Valid public @Valid Money getCreditLimit()
      The maximum amount of money that may be charged on an account
      Returns:
      creditLimit
    • setCreditLimit

      public void setCreditLimit(Money creditLimit)
    • defaultPaymentMethod

      public PartyAccount defaultPaymentMethod(PaymentMethodRef defaultPaymentMethod)
    • getDefaultPaymentMethod

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

      public void setDefaultPaymentMethod(PaymentMethodRef defaultPaymentMethod)
    • financialAccount

      public PartyAccount financialAccount(FinancialAccountRef financialAccount)
    • getFinancialAccount

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

      public void setFinancialAccount(FinancialAccountRef financialAccount)
    • paymentPlan

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

      public PartyAccount addPaymentPlanItem(PaymentPlan paymentPlanItem)
    • getPaymentPlan

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

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

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

      public PartyAccount 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 PartyAccount taxExemption(List<AccountTaxExemption> taxExemption)
    • addTaxExemptionItem

      public PartyAccount addTaxExemptionItem(AccountTaxExemption taxExemptionItem)
    • getTaxExemption

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

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

      public PartyAccount 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 PartyAccount 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 PartyAccount 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