Class SalesAgent

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

public class SalesAgent extends Object
BG-X-51 Sales Agent CONTACT.

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

Business terms and groups implemented
RepresentsBG-X-51
Business terms (value fields)BT-X-342, BT-X-343, BT-X-344, BT-X-345, BT-X-346, BT-X-347
Since:
1.0.06/2.2
  • Method Details

    • setSalesAgentPersonName

      public SalesAgent setSalesAgentPersonName(String value)
      Sets BT-X-342 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:SalesAgentTradeParty/ram:DefinedTradeContact/ram:PersonName

      FR: Nom du contact

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

      public SalesAgent setSalesAgentDepartmentName(String value)
      Sets BT-X-343 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:SalesAgentTradeParty/ram:DefinedTradeContact/ram:DepartmentName

      FR: Nom du service

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

      public SalesAgent setSalesAgentContactTelephoneNumber(String value)
      Sets BT-X-344 Phone Number — A phone number for the contact point.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/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 SalesAgent for chaining
      Since:
      1.0.06/2.2
    • setContactPointFaxNumber

      public SalesAgent setContactPointFaxNumber(String value)
      Sets BT-X-345 Contact point fax number.

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

      FR: Numéro de fax du point de contact, valeur

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

      public SalesAgent setSalesAgentContactEmailAddress(String value)
      Sets BT-X-346 Email — An e-mail address for the contact point.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/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 SalesAgent for chaining
      Since:
      1.0.06/2.2
    • setSalesAgentTypeCode

      public SalesAgent setSalesAgentTypeCode(ContactTypeCodeContentType value)
      Sets BT-X-347 Sales Agent 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:SalesAgentTradeParty/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 SalesAgent for chaining
      Since:
      1.0.06/2.2
    • getSalesAgentPersonName

      public String getSalesAgentPersonName()
      Returns BT-X-342 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:SalesAgentTradeParty/ram:DefinedTradeContact/ram:PersonName

      FR: Nom du contact

      Returns:
      the BT-X-342 value
      Since:
      1.0.06/2.2
    • getSalesAgentDepartmentName

      public String getSalesAgentDepartmentName()
      Returns BT-X-343 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:SalesAgentTradeParty/ram:DefinedTradeContact/ram:DepartmentName

      FR: Nom du service

      Returns:
      the BT-X-343 value
      Since:
      1.0.06/2.2
    • getSalesAgentContactTelephoneNumber

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

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/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-344 value
      Since:
      1.0.06/2.2
    • getContactPointFaxNumber

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

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

      FR: Numéro de fax du point de contact, valeur

      Returns:
      the BT-X-345 value
      Since:
      1.09.2/2.5.2
    • getSalesAgentContactEmailAddress

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

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

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

      Returns:
      the BT-X-346 value
      Since:
      1.0.06/2.2
    • getSalesAgentTypeCode

      public ContactTypeCodeContentType getSalesAgentTypeCode()
      Returns BT-X-347 Sales Agent 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:SalesAgentTradeParty/ram:DefinedTradeContact/ram:TypeCode

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

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