Class Buyer


  • public class Buyer
    extends Object
    BG-9:BUYER CONTACT

    A group of business terms providing contact information relevant for the Buyer.

    Contact details can be given by the Buyer at the time of the ordering or as master data exchanged prior to ordering. Contact details should not be used for the purpose of routing the received Invoice internally by the recipient; the Buyer reference identifier should be used for this purpose.

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

    • Method Detail

      • setBuyerPersonName

        public Buyer setBuyerPersonName​(String value)
        Parameters:
        value - BT-56:Buyer contact point

        A contact point for a legal entity or person.

        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

        Returns:
        Buyer
      • setBuyerDepartmentName

        public Buyer setBuyerDepartmentName​(String value)
        Parameters:
        value - BT-56-0:Buyer contact point

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

        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

        Returns:
        Buyer
      • setBuyerContactTelephoneNumber

        public Buyer setBuyerContactTelephoneNumber​(String value)
        Parameters:
        value - 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

        Returns:
        Buyer
      • setBuyerFaxNumber

        public Buyer setBuyerFaxNumber​(String value)
        Parameters:
        value - EXT:Buyer fax number

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

        Returns:
        Buyer
      • setBuyerContactEmailAddress

        public Buyer setBuyerContactEmailAddress​(String value)
        Parameters:
        value - 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

        Returns:
        Buyer
      • getBuyerPersonName

        public String getBuyerPersonName()
        BT-56:Buyer contact point

        A contact point for a legal entity or person.

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

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:PersonName
      • getBuyerDepartmentName

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

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

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

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:DepartmentName
      • getBuyerContactTelephoneNumber

        public String getBuyerContactTelephoneNumber()
        BT-57:Buyer contact telephone number

        A phone number for the contact point.

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:TelephoneUniversalCommunication/ram:CompleteNumber
      • getBuyerFaxNumber

        public String getBuyerFaxNumber()
        EXT:Buyer fax number
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:FaxUniversalCommunication/ram:CompleteNumber
      • getBuyerContactEmailAddress

        public String getBuyerContactEmailAddress()
        BT-58:Buyer contact email address

        An e-mail address for the contact point.

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID