public static final class CreditorService.CreditorCreateRequest extends IdempotentPostRequest<Creditor>
Request class for CreditorService.create()
.
Creates a new creditor.
Modifier and Type | Method and Description |
---|---|
CreditorService.CreditorCreateRequest |
withAddressLine1(java.lang.String addressLine1)
The first line of the creditor’s address.
|
CreditorService.CreditorCreateRequest |
withAddressLine2(java.lang.String addressLine2)
The second line of the creditor’s address.
|
CreditorService.CreditorCreateRequest |
withAddressLine3(java.lang.String addressLine3)
The third line of the creditor’s address.
|
CreditorService.CreditorCreateRequest |
withCity(java.lang.String city)
The city of the creditor’s address.
|
CreditorService.CreditorCreateRequest |
withCountryCode(java.lang.String countryCode)
ISO 3166-1 alpha-2 code.
|
CreditorService.CreditorCreateRequest |
withHeader(java.lang.String headerName,
java.lang.String headerValue) |
CreditorService.CreditorCreateRequest |
withIdempotencyKey(java.lang.String idempotencyKey) |
CreditorService.CreditorCreateRequest |
withLinks(java.util.Map<java.lang.String,java.lang.String> links) |
CreditorService.CreditorCreateRequest |
withLinks(java.lang.String key,
java.lang.String value) |
CreditorService.CreditorCreateRequest |
withName(java.lang.String name)
The creditor’s name.
|
CreditorService.CreditorCreateRequest |
withPostalCode(java.lang.String postalCode)
The creditor’s postal code.
|
CreditorService.CreditorCreateRequest |
withRegion(java.lang.String region)
The creditor’s address region, county or department.
|
execute
executeWrapped
public CreditorService.CreditorCreateRequest withAddressLine1(java.lang.String addressLine1)
The first line of the creditor’s address.
public CreditorService.CreditorCreateRequest withAddressLine2(java.lang.String addressLine2)
The second line of the creditor’s address.
public CreditorService.CreditorCreateRequest withAddressLine3(java.lang.String addressLine3)
The third line of the creditor’s address.
public CreditorService.CreditorCreateRequest withCity(java.lang.String city)
The city of the creditor’s address.
public CreditorService.CreditorCreateRequest withCountryCode(java.lang.String countryCode)
ISO 3166-1 alpha-2 code.
public CreditorService.CreditorCreateRequest withLinks(java.util.Map<java.lang.String,java.lang.String> links)
public CreditorService.CreditorCreateRequest withLinks(java.lang.String key, java.lang.String value)
public CreditorService.CreditorCreateRequest withName(java.lang.String name)
The creditor’s name.
public CreditorService.CreditorCreateRequest withPostalCode(java.lang.String postalCode)
The creditor’s postal code.
public CreditorService.CreditorCreateRequest withRegion(java.lang.String region)
The creditor’s address region, county or department.
public CreditorService.CreditorCreateRequest withIdempotencyKey(java.lang.String idempotencyKey)
public CreditorService.CreditorCreateRequest withHeader(java.lang.String headerName, java.lang.String headerValue)