def redact_payment_method(self, payment_method_token, options=None): options = options or {} body = self.redact_payment_method_body(options) xml_doc = ssl_requester.ssl_put( urls.redact_payment_method_url(payment_method_token), body, self.headers) return Transaction.from_xml(xml_doc)
def redact_payment_method(self, payment_method_token, options=None): options = options or {} body = self.redact_payment_method_body(options) xml_doc = ssl_requester.ssl_put(urls.redact_payment_method_url(payment_method_token), body, self.headers) return Transaction.from_xml(xml_doc)
def redact_gateway(self, gateway_token, options=None): options = options or {} xml_doc = ssl_requester.ssl_put(urls.redact_gateway_url(gateway_token), '', self.headers) return Transaction.from_xml(xml_doc)
def redact_gateway(self, gateway_token, options=None): options = options or {} xml_doc = ssl_requester.ssl_put(urls.redact_gateway_url(gateway_token), "", self.headers) return Transaction.from_xml(xml_doc)