com.klarna.rest.api.checkout.model.emd.ExtraMerchantDataBody Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2018 Klarna AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.klarna.rest.api.checkout.model.emd;
import java.util.List;
/**
* The model for EMD attachment body.
*/
public class ExtraMerchantDataBody extends Model {
/**
* List of air reservation details.
*/
private List airReservationDetails;
/**
* List of bus reservation details.
*/
private List busReservationDetails;
/**
* List of train reservation details.
*/
private List trainReservationDetails;
/**
* List of ferry reservation details.
*/
private List ferryReservationDetails;
/**
* List of hotel reservation details.
*/
private List hotelReservationDetails;
/**
* List of car rental reservation details.
*/
private List carRentalReservationDetails;
/**
* List of events.
*/
private List event;
/**
* List of vouchers.
*/
private List voucher;
/**
* List of subscriptions.
*/
private List subscription;
/**
* List of customer account information.
*/
private List customerAccountInfo;
/**
* List of marketplace seller information.
*/
private List marketplaceSellerInfo;
/**
* List of marketplace winner information.
*/
private List marketplaceWinnerInfo;
/**
* List of full purchase histories.
*/
private List paymentHistoryFull;
/**
* List of simple purchase histories.
*/
private List paymentHistorySimple;
/**
* List of other delivery addresses.
*/
private List otherDeliveryAddress;
/**
* Get the air reservation details.
*
* @return Air reservation details.
*/
public List getAirReservationDetails() {
return this.airReservationDetails;
}
/**
* Set the list of air reservation details.
*
* @param airReservationDetails Air reservation details.
* @return Same instance.
*/
public ExtraMerchantDataBody setAirReservationDetails(
final List airReservationDetails) {
this.airReservationDetails = airReservationDetails;
return this;
}
/**
* Get the bus reservation details.
*
* @return Bus reservation details.
*/
public List getBusReservationDetails() {
return this.busReservationDetails;
}
/**
* Set the list of bus reservation details.
*
* @param busReservationDetails Bus reservation details.
* @return Same instance.
*/
public ExtraMerchantDataBody setBusReservationDetails(
final List busReservationDetails) {
this.busReservationDetails = busReservationDetails;
return this;
}
/**
* Get the train reservation details.
*
* @return Train reservation details.
*/
public List getTrainReservationDetails() {
return this.trainReservationDetails;
}
/**
* Set the list of train reservation details.
*
* @param details Train reservation details.
* @return Same instance.
*/
public ExtraMerchantDataBody setTrainReservationDetails(
final List details) {
this.trainReservationDetails = details;
return this;
}
/**
* Get the ferry reservation details.
*
* @return Ferry reservation details.
*/
public List getFerryReservationDetails() {
return this.ferryReservationDetails;
}
/**
* Set the list of ferry reservation details.
*
* @param details Ferry reservation details.
* @return Same instance.
*/
public ExtraMerchantDataBody setFerryReservationDetails(
final List details) {
this.ferryReservationDetails = details;
return this;
}
/**
* Get the hotel reservation details.
*
* @return Hotel reservation details.
*/
public List getHotelReservationDetails() {
return this.hotelReservationDetails;
}
/**
* Set the list of hotel reservation details.
*
* @param details Hotel reservation details.
* @return Same instance.
*/
public ExtraMerchantDataBody setHotelReservationDetails(
final List details) {
this.hotelReservationDetails = details;
return this;
}
/**
* Get the car rental reservation details.
*
* @return Car rental reservation details.
*/
public List getCarRentalReservationDetails() {
return this.carRentalReservationDetails;
}
/**
* Set the list of car rental reservation details.
*
* @param details Car rental reservation details.
* @return Same instance.
*/
public ExtraMerchantDataBody setCarRentalReservationDetails(
final List details) {
this.carRentalReservationDetails = details;
return this;
}
/**
* Get the list of events.
*
* @return List of events.
*/
public List getEvent() {
return this.event;
}
/**
* Set the list of events.
*
* @param events List of events.
* @return Same instance.
*/
public ExtraMerchantDataBody setEvent(final List events) {
this.event = events;
return this;
}
/**
* Get the list of vouchers.
*
* @return List of vouchers.
*/
public List getVoucher() {
return this.voucher;
}
/**
* Set the list of vouchers.
*
* @param vouchers List of vouchers.
* @return Same instance.
*/
public ExtraMerchantDataBody setVoucher(final List vouchers) {
this.voucher = vouchers;
return this;
}
/**
* Get the list of subscriptions.
*
* @return List of subscriptions.
*/
public List getSubscription() {
return this.subscription;
}
/**
* Set the list of subscriptions.
*
* @param subscriptions List of subscriptions.
* @return Same instance.
*/
public ExtraMerchantDataBody setSubscription(
final List subscriptions) {
this.subscription = subscriptions;
return this;
}
/**
* Get the list of customer account information.
*
* @return List of customer account information.
*/
public List getCustomerAccountInfo() {
return this.customerAccountInfo;
}
/**
* Set the list of customer account information.
*
* @param customerAccountInfo List of customer account information.
* @return Same instance.
*/
public ExtraMerchantDataBody setCustomerAccountInfo(
final List customerAccountInfo) {
this.customerAccountInfo = customerAccountInfo;
return this;
}
/**
* Get the list of marketplace seller information.
*
* @return List of marketplace seller information.
*/
public List getMarketplaceSellerInfo() {
return this.marketplaceSellerInfo;
}
/**
* Set the list of marketplace seller information.
*
* @param marketplaceSellerInfo List of marketplace seller information.
* @return Same instance.
*/
public ExtraMerchantDataBody setMarketplaceSellerInfo(
final List marketplaceSellerInfo) {
this.marketplaceSellerInfo = marketplaceSellerInfo;
return this;
}
/**
* Get the list of marketplace winner information.
*
* @return List of marketplace winner information.
*/
public List getMarketplaceWinnerInfo() {
return this.marketplaceWinnerInfo;
}
/**
* Set the list of marketplace winner information.
*
* @param marketplaceWinnerInfo List of marketplace winner information.
* @return Same instance.
*/
public ExtraMerchantDataBody setMarketplaceWinnerInfo(
final List marketplaceWinnerInfo) {
this.marketplaceWinnerInfo = marketplaceWinnerInfo;
return this;
}
/**
* Get the list of full purchase histories.
*
* @return List of full purchase histories.
*/
public List getPaymentHistoryFull() {
return this.paymentHistoryFull;
}
/**
* Set the list full purchase histories.
*
* @param paymentHistoryFull List of full purchase histories.
* @return Same instance.
*/
public ExtraMerchantDataBody setPaymentHistoryFull(
final List paymentHistoryFull) {
this.paymentHistoryFull = paymentHistoryFull;
return this;
}
/**
* Get the list of simple purchase histories.
*
* @return List of simple purchase histories.
*/
public List getPaymentHistorySimple() {
return this.paymentHistorySimple;
}
/**
* Set the list of simple purchase histories.
*
* @param paymentHistorySimple List of simple purchase histories.
* @return Same instance.
*/
public ExtraMerchantDataBody setPaymentHistorySimple(
final List paymentHistorySimple) {
this.paymentHistorySimple = paymentHistorySimple;
return this;
}
/**
* Get the list of other delivery addresses.
*
* @return List of other delivery addresses.
*/
public List getOtherDeliveryAddress() {
return this.otherDeliveryAddress;
}
/**
* Set the list of other delivery addresses.
*
* @param otherDeliveryAddress List of other delivery addresses.
* @return Same instance.
*/
public ExtraMerchantDataBody setOtherDeliveryAddress(
final List otherDeliveryAddress) {
this.otherDeliveryAddress = otherDeliveryAddress;
return this;
}
}