Class Buyer

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

public class Buyer extends Object
BG-9 BUYER CONTACT — A group of business terms providing contact information relevant for the Buyer.

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

Business terms and groups implemented
RepresentsBG-9
Business terms (value fields)BT-X-115, BT-X-318, BT-56, BT-56-0, BT-57, BT-58

Documentation of the represented business group:

BG-9 — BUYER CONTACT
DescriptionENA group of business terms providing contact information relevant for the Buyer.
FRGroupe de termes métiers fournissant des informations de contact concernant l'Acheteur.
Usage noteENContacting details can be given by the Buyer at the time of the ordering or as master data exchanged prior to ordering. It is recommended not to use contacting details for the purpose of routing the received Invoice internally by the recipient; the Buyer reference identifier should be used for this purpose.
FRLes coordonnées peuvent être fournies par l'Acheteur au moment de la commande ou parmi les données de référence échangées avant la commande. Il est recommandé de ne pas utiliser les coordonnées pour acheminer en interne la Facture reçue par le destinataire ; il convient d'utiliser à cette fin l'identifiant Référence de l’Acheteur.
Since:
1.0.06/2.2
  • Method Details

    • setBuyerPersonName

      public Buyer setBuyerPersonName(String value)
      Sets BT-56 Buyer contact point — A contact point for a legal entity or person.

      Usage: Such as person name, contact identification, department or office identification : Person Name

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

      FR: Point de contact acheteur — Point de contact correspondant à une entité juridique ou à une personne morale.

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

      public Buyer setBuyerDepartmentName(String value)
      Sets BT-56-0 Buyer contact point.

      Usage: Such as person name, contact identification, department or office identification : Department Name

      Conditions (CIUS): For CHORUSPRO, it corresponds to the name of the "Service Exécutant" which is stated in BT-10

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

      FR: 0

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

      public Buyer setBuyerContactTelephoneNumber(String value)
      Sets BT-57 Buyer contact telephone number — A phone number for the contact point.

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

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

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

      public Buyer setBuyerContactEmailAddress(String value)
      Sets BT-58 Buyer contact email address — An e-mail address for the contact point.

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

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

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

      public Buyer setBuyerContactFaxNumber(String value)
      Sets BT-X-115 Buyer contact fax number — A fax number for the contact point.

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

      FR: Numéro de fax du contact acheteur

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

      public Buyer setBuyerTypeCode(String value)
      Sets BT-X-318 Buyer 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:BuyerTradeParty/ram:DefinedTradeContact/ram:TypeCode

      FR: Type de Point de contact acheteur — Code spécifiant le type de contact commercial

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

      public String getBuyerPersonName()
      Returns BT-56 Buyer contact point — A contact point for a legal entity or person.

      Usage: Such as person name, contact identification, department or office identification : Person Name

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

      FR: Point de contact acheteur — Point de contact correspondant à une entité juridique ou à une personne morale.

      Returns:
      the BT-56 value
      Since:
      1.0.06/2.2
    • getBuyerDepartmentName

      public String getBuyerDepartmentName()
      Returns BT-56-0 Buyer contact point.

      Usage: Such as person name, contact identification, department or office identification : Department Name

      Conditions (CIUS): For CHORUSPRO, it corresponds to the name of the "Service Exécutant" which is stated in BT-10

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

      FR: 0

      Returns:
      the BT-56-0 value
      Since:
      1.0.06/2.2
    • getBuyerContactTelephoneNumber

      public String getBuyerContactTelephoneNumber()
      Returns BT-57 Buyer contact telephone number — A phone number for the contact point.

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

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

      Returns:
      the BT-57 value
      Since:
      1.0.06/2.2
    • getBuyerContactEmailAddress

      public String getBuyerContactEmailAddress()
      Returns BT-58 Buyer contact email address — An e-mail address for the contact point.

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

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

      Returns:
      the BT-58 value
      Since:
      1.0.06/2.2
    • getBuyerContactFaxNumber

      public String getBuyerContactFaxNumber()
      Returns BT-X-115 Buyer contact fax number — A fax number for the contact point.

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

      FR: Numéro de fax du contact acheteur

      Returns:
      the BT-X-115 value
      Since:
      1.09.2/2.5.2
    • getBuyerTypeCode

      public String getBuyerTypeCode()
      Returns BT-X-318 Buyer 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:BuyerTradeParty/ram:DefinedTradeContact/ram:TypeCode

      FR: Type de Point de contact acheteur — Code spécifiant le type de contact commercial

      Returns:
      the BT-X-318 value
      Since:
      1.09.2/2.5.2