public string BatchUrl(BatchUrlType type) { switch (type) { case BatchUrlType.Cancel: return "/preapproval/cancel"; default: return "/preapproval"; } }
public string BatchUrl(BatchUrlType type) { switch (type) { case BatchUrlType.Cancel: return("/preapproval/cancel"); default: return("/preapproval"); } }
public string BatchUrl(BatchUrlType type) { if (type == BatchUrlType.Capture) { return("/checkout/capture"); } else { return("/checkout"); } }
public string BatchUrl(BatchUrlType type) { switch (type) { case BatchUrlType.Delete: return("/credit_card/delete"); case BatchUrlType.Authorize: return("/credit_card/authorize"); default: return("/credit_card"); } }
public string BatchUrl(BatchUrlType type) { if (type == BatchUrlType.Capture) { return "/checkout/capture"; } else { return "/checkout"; } }