Class BuyerAgent

java.lang.Object
com.fourjs.report.facturx.profiles.extended.BuyerAgent

public class BuyerAgent extends Object
BG-X-64 BUYER AGENT CONTACT.

The EN 16931 business terms and groups implemented by this class:

Business terms and groups implemented
RepresentsBG-X-64
Business terms (value fields)BT-X-413, BT-X-414, BT-X-415, BT-X-416, BT-X-417, BT-X-418
Since:
1.0.06/2.2
  • Method Details

    • setBuyerAgentPersonName

      public BuyerAgent setBuyerAgentPersonName(String value)
      Sets BT-X-413 Person Name.

      Usage: If a contact person is indicated, either the name or the department is to be transmitted.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:PersonName

      FR: Nom du contact

      Parameters:
      value - the value to set
      Returns:
      this BuyerAgent for chaining
      Since:
      1.0.06/2.2
    • setBuyerAgentDepartmentName

      public BuyerAgent setBuyerAgentDepartmentName(String value)
      Sets BT-X-414 Department Name.

      Usage: If a contact person is indicated, either the name or the department is to be transmitted.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:DepartmentName

      FR: Nom du service

      Parameters:
      value - the value to set
      Returns:
      this BuyerAgent for chaining
      Since:
      1.0.06/2.2
    • setBuyerAgentTypeCode

      public BuyerAgent setBuyerAgentTypeCode(ContactTypeCodeContentType value)
      Sets BT-X-415 CONTACT - Type — The code specifying the type of trade contact

      Usage: To be chosen from the entries of UNTDID 3139

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:TypeCode

      FR: Type de contact (code) — Code spécifiant le type de contact commercial

      Parameters:
      value - the value to set
      Returns:
      this BuyerAgent for chaining
      Since:
      1.0.06/2.2
    • setBuyerAgentContactTelephoneNumber

      public BuyerAgent setBuyerAgentContactTelephoneNumber(String value)
      Sets BT-X-416 Phone Number — A phone number for the contact point.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:TelephoneUniversalCommunication/ram:CompleteNumber

      FR: Numéro de téléphone du contact, valeur — Numéro de téléphone du point de contact.

      Parameters:
      value - the value to set
      Returns:
      this BuyerAgent for chaining
      Since:
      1.0.06/2.2
    • setContactPointFaxNumber

      public BuyerAgent setContactPointFaxNumber(String value)
      Sets BT-X-417 Contact point fax number.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:FaxUniversalCommunication/ram:CompleteNumber

      FR: Numéro de fax

      Parameters:
      value - the value to set
      Returns:
      this BuyerAgent for chaining
      Since:
      1.09.2/2.5.2
    • setBuyerAgentContactEmailAddress

      public BuyerAgent setBuyerAgentContactEmailAddress(String value)
      Sets BT-X-418 Email — An e-mail address for the contact point.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID

      FR: Adresse électronique du contact, valeur — Adresse e-mail du point de contact.

      Parameters:
      value - the value to set
      Returns:
      this BuyerAgent for chaining
      Since:
      1.0.06/2.2
    • getBuyerAgentPersonName

      public String getBuyerAgentPersonName()
      Returns BT-X-413 Person Name.

      Usage: If a contact person is indicated, either the name or the department is to be transmitted.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:PersonName

      FR: Nom du contact

      Returns:
      the BT-X-413 value
      Since:
      1.0.06/2.2
    • getBuyerAgentDepartmentName

      public String getBuyerAgentDepartmentName()
      Returns BT-X-414 Department Name.

      Usage: If a contact person is indicated, either the name or the department is to be transmitted.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:DepartmentName

      FR: Nom du service

      Returns:
      the BT-X-414 value
      Since:
      1.0.06/2.2
    • getBuyerAgentTypeCode

      public ContactTypeCodeContentType getBuyerAgentTypeCode()
      Returns BT-X-415 CONTACT - Type — The code specifying the type of trade contact

      Usage: To be chosen from the entries of UNTDID 3139

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:TypeCode

      FR: Type de contact (code) — Code spécifiant le type de contact commercial

      Returns:
      the BT-X-415 value
      Since:
      1.0.06/2.2
    • getBuyerAgentContactTelephoneNumber

      public String getBuyerAgentContactTelephoneNumber()
      Returns BT-X-416 Phone Number — A phone number for the contact point.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:TelephoneUniversalCommunication/ram:CompleteNumber

      FR: Numéro de téléphone du contact, valeur — Numéro de téléphone du point de contact.

      Returns:
      the BT-X-416 value
      Since:
      1.0.06/2.2
    • getContactPointFaxNumber

      public String getContactPointFaxNumber()
      Returns BT-X-417 Contact point fax number.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:FaxUniversalCommunication/ram:CompleteNumber

      FR: Numéro de fax

      Returns:
      the BT-X-417 value
      Since:
      1.09.2/2.5.2
    • getBuyerAgentContactEmailAddress

      public String getBuyerAgentContactEmailAddress()
      Returns BT-X-418 Email — An e-mail address for the contact point.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID

      FR: Adresse électronique du contact, valeur — Adresse e-mail du point de contact.

      Returns:
      the BT-X-418 value
      Since:
      1.0.06/2.2