diff --git a/src/main/java/com/gocardless/http/ListResponse.java b/src/main/java/com/gocardless/http/ListResponse.java index 0f102486..bd2ed2c9 100644 --- a/src/main/java/com/gocardless/http/ListResponse.java +++ b/src/main/java/com/gocardless/http/ListResponse.java @@ -158,12 +158,12 @@ public List getSubscriptions() { return subscriptions; } - Linked(List creditors, List refunds, List customers, - List instalmentSchedules, List subscriptions, - List billingRequests, List payouts, - List schemeIdentifiers, List mandates, - List outboundPayments, List payments, - List payerAuthorisations) { + Linked(List billingRequests, List creditors, + List customers, List instalmentSchedules, + List mandates, List outboundPayments, + List payerAuthorisations, List payments, + List payouts, List refunds, + List schemeIdentifiers, List subscriptions) { this.billingRequests = billingRequests; this.creditors = creditors; this.customers = customers; diff --git a/src/main/java/com/gocardless/resources/BillingRequest.java b/src/main/java/com/gocardless/resources/BillingRequest.java index cb83389a..055aafed 100644 --- a/src/main/java/com/gocardless/resources/BillingRequest.java +++ b/src/main/java/com/gocardless/resources/BillingRequest.java @@ -296,26 +296,6 @@ public enum Type { UNKNOWN } - /** - * Represents a available currency resource returned from the API. - * - * List of currencies the current mandate supports - */ - public static class AvailableCurrencies { - private AvailableCurrencies() { - // blank to prevent instantiation - } - - private String currency; - - /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. - */ - public String getCurrency() { - return currency; - } - } - /** * Represents a bank authorisation resource returned from the API. * diff --git a/src/main/java/com/gocardless/resources/BillingRequestWithAction.java b/src/main/java/com/gocardless/resources/BillingRequestWithAction.java index 642bd244..29e6d39a 100644 --- a/src/main/java/com/gocardless/resources/BillingRequestWithAction.java +++ b/src/main/java/com/gocardless/resources/BillingRequestWithAction.java @@ -498,26 +498,6 @@ public enum Type { UNKNOWN } - /** - * Represents a available currency resource returned from the API. - * - * List of currencies the current mandate supports - */ - public static class AvailableCurrencies { - private AvailableCurrencies() { - // blank to prevent instantiation - } - - private String currency; - - /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. - */ - public String getCurrency() { - return currency; - } - } - /** * Represents a bank authorisation resource returned from the API. *