-
Notifications
You must be signed in to change notification settings - Fork 12
Sale_Stop
Jacob McConnell edited this page Jun 6, 2014
·
3 revisions
The SaleService class provides methods to retrieve and update sales.
##Method
###Stop
Use to stop one or all active recurring lineitems on a sale.
####Arguments
- TwoCheckoutConfig - Set your ApiUsername and ApiPassword.
- SaleStopServiceOptions Object containing sale_id or lineitem_id.
####Returns
Returns result as a TwocheckoutResponse object.
####Example Usage:
var ServiceObject = new SaleService();
var ArgsObject = new SaleStopServiceOptions();
ArgsObject.sale_id = sale_id;
var result = ServiceObject.Stop(ArgsObject);
####Example Response:
{TwoCheckout.TwoCheckoutResponse}
response_code: "OK"
response_message: "4831145902"
Please feel free to contact 2Checkout directly for assistance with your integration.