Class BuyerAgent


  • public class BuyerAgent
    extends Object
    EXT:BUYER AGENT CONTACT

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

    • Method Detail

      • setBuyerAgentPersonName

        public BuyerAgent setBuyerAgentPersonName​(String value)
        Parameters:
        value - EXT:Person Name

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

        Returns:
        BuyerAgent
      • setBuyerAgentDepartmentName

        public BuyerAgent setBuyerAgentDepartmentName​(String value)
        Parameters:
        value - EXT:Department Name

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

        Returns:
        BuyerAgent
      • setBuyerAgentTypeCode

        public BuyerAgent setBuyerAgentTypeCode​(ContactTypeCodeContentType value)
        Parameters:
        value - EXT:CONTACT - Type

        To be chosen from the entries in UNTDID 3139

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

        Returns:
        BuyerAgent
      • setBuyerAgentContactTelephoneNumber

        public BuyerAgent setBuyerAgentContactTelephoneNumber​(String value)
        Parameters:
        value - EXT:Phone Number

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

        Returns:
        BuyerAgent
      • setFaxNumber

        public BuyerAgent setFaxNumber​(String value)
        Parameters:
        value - EXT:Fax number

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

        Returns:
        BuyerAgent
      • setBuyerAgentContactEmailAddress

        public BuyerAgent setBuyerAgentContactEmailAddress​(String value)
        Parameters:
        value - EXT:Email

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

        Returns:
        BuyerAgent
      • getBuyerAgentPersonName

        public String getBuyerAgentPersonName()
        EXT:Person Name
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:PersonName
      • getBuyerAgentDepartmentName

        public String getBuyerAgentDepartmentName()
        EXT:Department Name
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:DepartmentName
      • getBuyerAgentTypeCode

        public ContactTypeCodeContentType getBuyerAgentTypeCode()
        EXT:CONTACT - Type

        To be chosen from the entries in UNTDID 3139

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:TypeCode
      • getBuyerAgentContactTelephoneNumber

        public String getBuyerAgentContactTelephoneNumber()
        EXT:Phone Number
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:TelephoneUniversalCommunication/ram:CompleteNumber
      • getFaxNumber

        public String getFaxNumber()
        EXT:Fax number
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:FaxUniversalCommunication/ram:CompleteNumber
      • getBuyerAgentContactEmailAddress

        public String getBuyerAgentContactEmailAddress()
        EXT:Email
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID