public class SubaccountUpdater extends Updater<SubaccountUpdateResponse>
| Constructor and Description |
|---|
SubaccountUpdater(java.lang.String subauthId,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
enabled() |
SubaccountUpdater |
enabled(java.lang.Boolean enabled) |
java.lang.String |
name() |
protected retrofit2.Call<SubaccountUpdateResponse> |
obtainCall() |
client, client, handleResponse, validatepublic SubaccountUpdater(java.lang.String subauthId,
java.lang.String name)
subauthId - Authentication ID of the subaccount to update.name - Name of the subaccountpublic java.lang.String name()
public java.lang.Boolean enabled()
public SubaccountUpdater enabled(java.lang.Boolean enabled)
enabled - Specify if the subaccount should be enabled or not.protected retrofit2.Call<SubaccountUpdateResponse> obtainCall()
obtainCall in class Updater<SubaccountUpdateResponse>