Skip to content

Commit

Permalink
payment method corrections round 2
Browse files Browse the repository at this point in the history
  • Loading branch information
reshmabidikar committed Oct 16, 2023
1 parent bebcf7f commit b984924
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions source/includes/_payment-method.md
Original file line number Diff line number Diff line change
Expand Up @@ -943,9 +943,9 @@ $result = $apiInstance->getPaymentMethodCustomFields($paymentMethodId, $audit);

**Query Parameters**

| Name | Type | Required | Default | Description |
| ---- | -----| -------- | ------- | ----------- |
| **audit** | string | no | "NONE" | Level of audit information to return:"NONE", "MINIMAL", or "FULL" |
| Name | Type | Required | Default | Description |
| ---- | -----| -------- | ------- |--------------------------------------------------------------------|
| **audit** | string | no | "NONE" | Level of audit information to return:"NONE", "MINIMAL" (only inserts), or "FULL" |


**Response**
Expand All @@ -954,7 +954,7 @@ If successful, returns a status code of 200 and a (possibly empty) list of custo

### Modify custom fields for payment method

Modifies the value of one or more existing custom fields associated with a payment object. Note that it is not possible to modify the name of a custom field, it is only possible to modify its value.
Modifies the value of one or more existing custom fields associated with a payment method object. Note that it is not possible to modify the name of a custom field, it is only possible to modify its value.

**HTTP Request**

Expand Down Expand Up @@ -1077,7 +1077,7 @@ If successful, a status code of 204 and an empty body.

### Remove custom fields from payment method

Delete one or more custom fields from a payment method. It accepts query parameters corresponding to the custom field ids to be deleted. if no query parameters are specified, it deletes all the custom fields corresponding to the payment method.
Delete one or more custom fields from a payment method. It accepts query parameters corresponding to the custom field ids to be deleted. If no query parameters are specified, it deletes all the custom fields corresponding to the payment method.

**HTTP Request**

Expand Down Expand Up @@ -1166,7 +1166,7 @@ $apiInstance->deletePaymentMethodCustomFields($paymentMethodId, $xKillbillCreate

| Name | Type | Required | Default | Description |
| ---- | -----| -------- | ------- | ----------- |
| **customField** | string | yes | none | Custom field object ID that should be deleted. Multiple custom fields can be deleted by specifying a separate **customField** parameter corresponding to each field. |
| **customField** | string | yes | none | Custom field ID that should be deleted. Multiple custom fields can be deleted by specifying a separate **customField** parameter corresponding to each field. |

**Response**

Expand Down Expand Up @@ -1221,7 +1221,10 @@ audit_logs = paymentMethodApi.get_payment_method_audit_logs_with_history(payment
```

```ruby
TODO
payment_method = KillBillClient::Model::PaymentMethod.new
payment_method.payment_method_id = "06e5c871-3caf-41c2-9d7e-30c95f6e309c"

audit_logs = payment_method.audit_logs_with_history(options)
```

````javascript
Expand Down

0 comments on commit b984924

Please sign in to comment.