public Result <PaymentMethod> Delete(string token, PaymentMethodDeleteRequest request) { string queryString = (request == null ? "" : "?" + request.ToQueryString()); var response = new NodeWrapper(service.Delete(service.MerchantPath() + "/payment_methods/any/" + token + queryString)); return(new ResultImpl <UnknownPaymentMethod>(response, gateway)); }
public virtual Result <Dispute> RemoveEvidence(string disputeId, string evidenceId) { NotFoundException notFoundException = new NotFoundException(String.Format("evidence with id '{0}' for dispute with id '{1}' not found", evidenceId, disputeId)); if (disputeId == null || disputeId.Trim().Equals("") || evidenceId == null || evidenceId.Trim().Equals("")) { throw notFoundException; } try { XmlNode disputeXML = Service.Delete(Service.MerchantPath() + "/disputes/" + disputeId + "/evidence/" + evidenceId); return(new ResultImpl <Dispute>(new NodeWrapper(disputeXML), Gateway)); } catch (NotFoundException) { throw notFoundException; } }
public virtual void Delete(string token) { service.Delete(service.MerchantPath() + "/payment_methods/credit_card/" + token); }
public virtual Result <Customer> Delete(string Id) { XmlNode customerXML = service.Delete(service.MerchantPath() + "/customers/" + Id); return(new ResultImpl <Customer>(new NodeWrapper(customerXML), gateway)); }
public void Delete(string token) { service.Delete(service.MerchantPath() + "/payment_methods/paypal_account/" + token); }
public virtual Result <Address> Delete(string customerId, string id) { XmlNode addressXML = Service.Delete(Service.MerchantPath() + "/customers/" + customerId + "/addresses/" + id); return(new ResultImpl <Address>(new NodeWrapper(addressXML), Gateway)); }
public Result <PaymentMethod> Delete(string token) { var response = new NodeWrapper(service.Delete(service.MerchantPath() + "/payment_methods/any/" + token)); return(new ResultImpl <UnknownPaymentMethod>(response, gateway)); }
public virtual void Delete(string Id) { service.Delete(service.MerchantPath() + "/customers/" + Id); }
public virtual void Delete(String customerId, String id) { Service.Delete("/customers/" + customerId + "/addresses/" + id); }
public virtual void Delete(String token) { Service.Delete("/payment_methods/credit_card/" + token); }
public void Delete(String token) { Service.Delete("/payment_methods/paypal_account/" + token); }
public virtual void Delete(String Id) { Service.Delete("/customers/" + Id); }
public void Delete(String token) { service.Delete("/payment_methods/any/" + token); }
public virtual void Delete(string customerId, string id) { Service.Delete(Service.MerchantPath() + "/customers/" + customerId + "/addresses/" + id); }