public static final class CreditorService.CreditorUpdateRequest extends PutRequest<Creditor>
Request class for CreditorService.update(java.lang.String)
.
Updates a creditor object. Supports all of the fields supported when creating a creditor.
Modifier and Type | Class and Description |
---|---|
static class |
CreditorService.CreditorUpdateRequest.Links |
Modifier and Type | Method and Description |
---|---|
CreditorService.CreditorUpdateRequest |
withAddressLine1(java.lang.String addressLine1)
The first line of the creditor’s address.
|
CreditorService.CreditorUpdateRequest |
withAddressLine2(java.lang.String addressLine2)
The second line of the creditor’s address.
|
CreditorService.CreditorUpdateRequest |
withAddressLine3(java.lang.String addressLine3)
The third line of the creditor’s address.
|
CreditorService.CreditorUpdateRequest |
withCity(java.lang.String city)
The city of the creditor’s address.
|
CreditorService.CreditorUpdateRequest |
withCountryCode(java.lang.String countryCode)
ISO 3166-1 alpha-2 code.
|
CreditorService.CreditorUpdateRequest |
withHeader(java.lang.String headerName,
java.lang.String headerValue) |
CreditorService.CreditorUpdateRequest |
withLinks(CreditorService.CreditorUpdateRequest.Links links) |
CreditorService.CreditorUpdateRequest |
withLinksDefaultDkkPayoutAccount(java.lang.String defaultDkkPayoutAccount)
ID of the bank account which is set up to receive payouts in DKK.
|
CreditorService.CreditorUpdateRequest |
withLinksDefaultEurPayoutAccount(java.lang.String defaultEurPayoutAccount)
ID of the bank account which is set up to receive payouts in EUR.
|
CreditorService.CreditorUpdateRequest |
withLinksDefaultGbpPayoutAccount(java.lang.String defaultGbpPayoutAccount)
ID of the bank account which is set up to receive payouts in GBP.
|
CreditorService.CreditorUpdateRequest |
withLinksDefaultSekPayoutAccount(java.lang.String defaultSekPayoutAccount)
ID of the bank account which is set up to receive payouts in SEK.
|
CreditorService.CreditorUpdateRequest |
withName(java.lang.String name)
The creditor’s name.
|
CreditorService.CreditorUpdateRequest |
withPostalCode(java.lang.String postalCode)
The creditor’s postal code.
|
CreditorService.CreditorUpdateRequest |
withRegion(java.lang.String region)
The creditor’s address region, county or department.
|
execute, executeWrapped
public CreditorService.CreditorUpdateRequest withAddressLine1(java.lang.String addressLine1)
The first line of the creditor’s address.
public CreditorService.CreditorUpdateRequest withAddressLine2(java.lang.String addressLine2)
The second line of the creditor’s address.
public CreditorService.CreditorUpdateRequest withAddressLine3(java.lang.String addressLine3)
The third line of the creditor’s address.
public CreditorService.CreditorUpdateRequest withCity(java.lang.String city)
The city of the creditor’s address.
public CreditorService.CreditorUpdateRequest withCountryCode(java.lang.String countryCode)
ISO 3166-1 alpha-2 code.
public CreditorService.CreditorUpdateRequest withLinks(CreditorService.CreditorUpdateRequest.Links links)
public CreditorService.CreditorUpdateRequest withLinksDefaultDkkPayoutAccount(java.lang.String defaultDkkPayoutAccount)
ID of the bank account which is set up to receive payouts in DKK.
public CreditorService.CreditorUpdateRequest withLinksDefaultEurPayoutAccount(java.lang.String defaultEurPayoutAccount)
ID of the bank account which is set up to receive payouts in EUR.
public CreditorService.CreditorUpdateRequest withLinksDefaultGbpPayoutAccount(java.lang.String defaultGbpPayoutAccount)
ID of the bank account which is set up to receive payouts in GBP.
public CreditorService.CreditorUpdateRequest withLinksDefaultSekPayoutAccount(java.lang.String defaultSekPayoutAccount)
ID of the bank account which is set up to receive payouts in SEK.
public CreditorService.CreditorUpdateRequest withName(java.lang.String name)
The creditor’s name.
public CreditorService.CreditorUpdateRequest withPostalCode(java.lang.String postalCode)
The creditor’s postal code.
public CreditorService.CreditorUpdateRequest withRegion(java.lang.String region)
The creditor’s address region, county or department.
public CreditorService.CreditorUpdateRequest withHeader(java.lang.String headerName, java.lang.String headerValue)