developer_guide:call_reference:gettermsrequest
This is an old revision of the document!
Table of Contents
GetTermsRequest Call Reference
GetTermsRequest will return the pricing terms of a package. This method is used by the Terms Widget, which displays the pricing in a format that can be styled easily with CSS.
View:
GetTermsRequest
Overview
The box below lists all fields that could be included in the call request. To learn more about an individual field or its type, scroll down to find it in the table below the box.
XML
<?xml version="1.0" encoding="utf-8"?> <GetTermsRequest> <LinkID>string</LinkID> </GetTermsRequest>
Elements
Name | Type | Occurrence | Meaning |
---|---|---|---|
GetTermsRequest | container | required | Parent Element |
LinkID | string | required | The Subscription Package ID Learn More |
GetTermsResponse
Overview
The box below lists all fields that could be included in the call response. To learn more about an individual field or its type, scroll down to find it in the table below the box.
XML
<?xml version="1.0" encoding="utf-8"?> <GetTermsResponse> <Ack>string</Ack> <Timestamp>timestamp</Timestamp> <TermsBilling>string</TermsBilling> <TermsTrialBilling>string</TermsTrialBilling> <TermsCustom>string</TermsCustom> </GetTermsResponse>
Elements
Name | Type | Occurrence | Meaning |
---|---|---|---|
GetTermsResponse | container | required | Parent Element |
Ack | string | always | Success, Error, or Warning |
Timestamp | string | always | All responses return the official SB time stamp in UTC/GMT |
TermsBilling | string | always | Billing terms (e.g. $45.00 per month) |
TermsTrialBilling | string | conditional | Billing trial terms, if available (e.g. Free for 7 days) |
TermsCustom | string | always | Custom text that you can add via the Merchant Center. Useful to explain additional charges (e.g. Plus Tax and Shipping) |
developer_guide/call_reference/gettermsrequest.1330224469.txt.gz · Last modified: 2012/02/24 23:00 (external edit)