com.amadeus.ordering.TransferOrder Maven / Gradle / Ivy
package com.amadeus.ordering;
import com.amadeus.Amadeus;
import com.amadeus.ordering.transferOrders.Transfers;
/**
*
* A namespaced client for the
* /v1/ordering/transfer-orders/:orderId
endpoints.
*
*
*
* Access via the Amadeus client object
*
*
*
* Amadeus amadeus = Amadeus.builder(API_KEY, API_SECRET).build();
* amadeus.ordering.transferOrder(orderId);
*
* @hide
*/
public class TransferOrder {
public Amadeus client;
public String orderId;
public Transfers transfers;
/**
* Constructor.
* @hide
*/
public TransferOrder(Amadeus client, String orderId) {
this.orderId = orderId;
this.client = client;
this.transfers = new Transfers(client, orderId);
}
}