com.intershop.oms.test.businessobject.OMSReservation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iom-test-framework Show documentation
Show all versions of iom-test-framework Show documentation
An "SDK"-style library improving test automation for Intershop Order Management.
package com.intershop.oms.test.businessobject;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Collection;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
@Getter
@Setter
@EqualsAndHashCode
@ToString
@Accessors(chain = true)
public class OMSReservation
{
private OMSShop shop;
// request parameters
private OMSReservationType type = OMSReservationType.COMPLETE;
private long lifetime;
// response values
private long resvId;
private OffsetDateTime validUntil;
private Collection items = new ArrayList<>();
}