public static final class PaymentService.PaymentUpdateRequest extends PutRequest<Payment>
Request class for PaymentService.update(java.lang.String)
.
Updates a payment object. This accepts only the metadata parameter.
Modifier and Type | Method and Description |
---|---|
PaymentService.PaymentUpdateRequest |
withHeader(java.lang.String headerName,
java.lang.String headerValue) |
PaymentService.PaymentUpdateRequest |
withMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Key-value store of custom data.
|
PaymentService.PaymentUpdateRequest |
withMetadata(java.lang.String key,
java.lang.String value)
Key-value store of custom data.
|
execute, executeWrapped
public PaymentService.PaymentUpdateRequest withMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Key-value store of custom data. Up to 3 keys are permitted, with key names up to 50 characters and values up to 500 characters.
public PaymentService.PaymentUpdateRequest withMetadata(java.lang.String key, java.lang.String value)
Key-value store of custom data. Up to 3 keys are permitted, with key names up to 50 characters and values up to 500 characters.
public PaymentService.PaymentUpdateRequest withHeader(java.lang.String headerName, java.lang.String headerValue)