GetTerms

Description

This method is used to view stored data for particular terms.

Syntax

Terms GetTerms(SecurityToken securityToken , string termsId, string termsInternalId).

Arguments

TypeNameDescription
SecurityTokensecurityTokenMerchant security token: used to identify merchant and validate transaction. (required)
StringtermsIdTerms ID. (required)
StringtermsInternalIdUnique internal terms ID assigned by EBizCharge. (required)

Return Value

TypeDescription
TermsReturns result of GetTerms request.

Example

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebiz="http://eBizCharge.ServiceModel.SOAP">
   <soapenv:Header />
   <soapenv:Body>
      <ebiz:GetTerms>
         <ebiz:securityToken>
            <ebiz:SecurityId>********-55ee-434c-b126-f630f2486a2d</ebiz:SecurityId>
            <ebiz:UserId />
            <ebiz:Password />
         </ebiz:securityToken>
         <ebiz:termsId>T-0001</ebiz:termsId>
         <ebiz:termsInternalId />
      </ebiz:GetTerms>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <GetTermsResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
         <GetTermsResult>
            <TermsInternalId>********-1838-4b16-b38c-3b801ed8822f</TermsInternalId>
            <TermsId>T-0001</TermsId>
            <TermsName>Net30</TermsName>
            <TermsDescription />
            <NetDueInDays>30</NetDueInDays>
            <DiscountPercentage>4.00</DiscountPercentage>
            <DiscountIfPaidWithinDays>4</DiscountIfPaidWithinDays>
            <IsInactive>false</IsInactive>
         </GetTermsResult>
      </GetTermsResponse>
   </s:Body>
</s:Envelope>