-
Notifications
You must be signed in to change notification settings - Fork 16
Company_Retrieve
Jacob McConnell edited this page Jun 10, 2014
·
2 revisions
You must specify your API username and password using the Twocheckout.apiusername & Twocheckout.apipassword class variables before calling a method in this class. The TwocheckoutCompany class provides the retrieve method that will return a Company object.
##Methods
###retrieve
Use to retrieve company information from your 2Checkout Site Management page.
####Arguments
- none
####Returns
Returns a Company object.
####Example Usage:
Company company = TwocheckoutCompany.retrieve();####Example Response:
Class: com.twocheckout.model.Company{
affiliate_url=
currency_code=USD
currency_name=US Dollars
currency_symbol=$
demo=P
pending_return_url=
return_method=0
return_url=http://localhost:51393/Orders/Return
secret_word=tango
site_category=Other
site_description=
site_title=
soft_descriptor=D1817037
url=http://localhost/
vendor_id=1817037
vendor_name=Library Test Account
}Please feel free to contact 2Checkout directly for assistance with your integration.