Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.trippay.sdk.payment.model.PricedSupplierContractWithAcquirer Maven / Gradle / Ivy
package io.trippay.sdk.payment.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.trippay.sdk.payment.model.Acquirer;
import io.trippay.sdk.payment.model.AuthenticatedUser;
import io.trippay.sdk.payment.model.CustomMonetaryAmount;
import io.trippay.sdk.payment.model.PricedSupplierContractItemWithAcquirer;
import io.trippay.sdk.payment.model.Quote;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import org.hibernate.validator.constraints.*;
@JsonPropertyOrder ({
PricedSupplierContractWithAcquirer.JSON_PROPERTY_FEDERATED_ORGANIZATION_IDENTIFIER,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_FEDERATED_ORGANIZATION_NAME,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_USER,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_IP_ADDRESS,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_TRACE_ID,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_SOURCE_URL,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_IDENTIFIER,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_SUPPLIER_IDENTIFIER,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_SUPPLIER_NAME,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_DISPLAY_PRICE_QUOTE,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_SUPPLIER_PRICE_QUOTE,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_INTERNAL_PRICE_QUOTE,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_CAPTURE_PRICE_QUOTE,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_ITEM_LIST,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_ACQUIRER,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_EXTERNAL_SUPPLIER_IDENTIFIER,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_EXTERNAL_SUPPLIER_BOOKING_CODE,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_EXTERNAL_TRANSACTION_IDENTIFIER,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_METADATA,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_TOTAL_PRICE,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_TOTAL_DISPLAY_PRICE,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_TOTAL_SUPPLIER_PRICE,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_TOTAL_INTERNAL_PRICE,
PricedSupplierContractWithAcquirer.JSON_PROPERTY_TOTAL_CAPTURE_PRICE
})
@jakarta .annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen" , date = "2024-10-04T20:14:22.496066564+07:00[Asia/Bangkok]" )
public class PricedSupplierContractWithAcquirer {
public static final String JSON_PROPERTY_FEDERATED_ORGANIZATION_IDENTIFIER = "federatedOrganizationIdentifier" ;
private String federatedOrganizationIdentifier;
public static final String JSON_PROPERTY_FEDERATED_ORGANIZATION_NAME = "federatedOrganizationName" ;
private String federatedOrganizationName;
public static final String JSON_PROPERTY_USER = "user" ;
private AuthenticatedUser user;
public static final String JSON_PROPERTY_IP_ADDRESS = "ipAddress" ;
private String ipAddress;
public static final String JSON_PROPERTY_TRACE_ID = "traceId" ;
private String traceId;
public static final String JSON_PROPERTY_SOURCE_URL = "sourceUrl" ;
private String sourceUrl;
public static final String JSON_PROPERTY_IDENTIFIER = "identifier" ;
private UUID identifier;
public static final String JSON_PROPERTY_SUPPLIER_IDENTIFIER = "supplierIdentifier" ;
private UUID supplierIdentifier;
public static final String JSON_PROPERTY_SUPPLIER_NAME = "supplierName" ;
private String supplierName;
public static final String JSON_PROPERTY_DISPLAY_PRICE_QUOTE = "displayPriceQuote" ;
private Quote displayPriceQuote;
public static final String JSON_PROPERTY_SUPPLIER_PRICE_QUOTE = "supplierPriceQuote" ;
private Quote supplierPriceQuote;
public static final String JSON_PROPERTY_INTERNAL_PRICE_QUOTE = "internalPriceQuote" ;
private Quote internalPriceQuote;
public static final String JSON_PROPERTY_CAPTURE_PRICE_QUOTE = "capturePriceQuote" ;
private Quote capturePriceQuote;
public static final String JSON_PROPERTY_ITEM_LIST = "itemList" ;
private List itemList = new ArrayList<>();
public static final String JSON_PROPERTY_ACQUIRER = "acquirer" ;
private List acquirer = new ArrayList<>();
public static final String JSON_PROPERTY_EXTERNAL_SUPPLIER_IDENTIFIER = "externalSupplierIdentifier" ;
private String externalSupplierIdentifier;
public static final String JSON_PROPERTY_EXTERNAL_SUPPLIER_BOOKING_CODE = "externalSupplierBookingCode" ;
private String externalSupplierBookingCode;
public static final String JSON_PROPERTY_EXTERNAL_TRANSACTION_IDENTIFIER = "externalTransactionIdentifier" ;
private String externalTransactionIdentifier;
public static final String JSON_PROPERTY_METADATA = "metadata" ;
private Map metadata = new HashMap<>();
public static final String JSON_PROPERTY_TOTAL_PRICE = "totalPrice" ;
private CustomMonetaryAmount totalPrice;
public static final String JSON_PROPERTY_TOTAL_DISPLAY_PRICE = "totalDisplayPrice" ;
private CustomMonetaryAmount totalDisplayPrice;
public static final String JSON_PROPERTY_TOTAL_SUPPLIER_PRICE = "totalSupplierPrice" ;
private CustomMonetaryAmount totalSupplierPrice;
public static final String JSON_PROPERTY_TOTAL_INTERNAL_PRICE = "totalInternalPrice" ;
private CustomMonetaryAmount totalInternalPrice;
public static final String JSON_PROPERTY_TOTAL_CAPTURE_PRICE = "totalCapturePrice" ;
private CustomMonetaryAmount totalCapturePrice;
public PricedSupplierContractWithAcquirer () {
}
@JsonCreator
public PricedSupplierContractWithAcquirer (
@JsonProperty(JSON_PROPERTY_ITEM_LIST) List itemList
) {
this ();
this .itemList = itemList;
}
public PricedSupplierContractWithAcquirer federatedOrganizationIdentifier (String federatedOrganizationIdentifier) {
this .federatedOrganizationIdentifier = federatedOrganizationIdentifier;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@JsonProperty (JSON_PROPERTY_FEDERATED_ORGANIZATION_IDENTIFIER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public String getFederatedOrganizationIdentifier () {
return federatedOrganizationIdentifier;
}
@JsonProperty (JSON_PROPERTY_FEDERATED_ORGANIZATION_IDENTIFIER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setFederatedOrganizationIdentifier (String federatedOrganizationIdentifier) {
this .federatedOrganizationIdentifier = federatedOrganizationIdentifier;
}
public PricedSupplierContractWithAcquirer federatedOrganizationName (String federatedOrganizationName) {
this .federatedOrganizationName = federatedOrganizationName;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@JsonProperty (JSON_PROPERTY_FEDERATED_ORGANIZATION_NAME)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public String getFederatedOrganizationName () {
return federatedOrganizationName;
}
@JsonProperty (JSON_PROPERTY_FEDERATED_ORGANIZATION_NAME)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setFederatedOrganizationName (String federatedOrganizationName) {
this .federatedOrganizationName = federatedOrganizationName;
}
public PricedSupplierContractWithAcquirer user (AuthenticatedUser user) {
this .user = user;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@Valid
@JsonProperty (JSON_PROPERTY_USER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public AuthenticatedUser getUser () {
return user;
}
@JsonProperty (JSON_PROPERTY_USER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setUser (AuthenticatedUser user) {
this .user = user;
}
public PricedSupplierContractWithAcquirer ipAddress (String ipAddress) {
this .ipAddress = ipAddress;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@JsonProperty (JSON_PROPERTY_IP_ADDRESS)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public String getIpAddress () {
return ipAddress;
}
@JsonProperty (JSON_PROPERTY_IP_ADDRESS)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setIpAddress (String ipAddress) {
this .ipAddress = ipAddress;
}
public PricedSupplierContractWithAcquirer traceId (String traceId) {
this .traceId = traceId;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@JsonProperty (JSON_PROPERTY_TRACE_ID)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public String getTraceId () {
return traceId;
}
@JsonProperty (JSON_PROPERTY_TRACE_ID)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setTraceId (String traceId) {
this .traceId = traceId;
}
public PricedSupplierContractWithAcquirer sourceUrl (String sourceUrl) {
this .sourceUrl = sourceUrl;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@JsonProperty (JSON_PROPERTY_SOURCE_URL)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public String getSourceUrl () {
return sourceUrl;
}
@JsonProperty (JSON_PROPERTY_SOURCE_URL)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setSourceUrl (String sourceUrl) {
this .sourceUrl = sourceUrl;
}
public PricedSupplierContractWithAcquirer identifier (UUID identifier) {
this .identifier = identifier;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@Valid
@JsonProperty (JSON_PROPERTY_IDENTIFIER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public UUID getIdentifier () {
return identifier;
}
@JsonProperty (JSON_PROPERTY_IDENTIFIER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setIdentifier (UUID identifier) {
this .identifier = identifier;
}
public PricedSupplierContractWithAcquirer supplierIdentifier (UUID supplierIdentifier) {
this .supplierIdentifier = supplierIdentifier;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@Valid
@JsonProperty (JSON_PROPERTY_SUPPLIER_IDENTIFIER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public UUID getSupplierIdentifier () {
return supplierIdentifier;
}
@JsonProperty (JSON_PROPERTY_SUPPLIER_IDENTIFIER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setSupplierIdentifier (UUID supplierIdentifier) {
this .supplierIdentifier = supplierIdentifier;
}
public PricedSupplierContractWithAcquirer supplierName (String supplierName) {
this .supplierName = supplierName;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@JsonProperty (JSON_PROPERTY_SUPPLIER_NAME)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public String getSupplierName () {
return supplierName;
}
@JsonProperty (JSON_PROPERTY_SUPPLIER_NAME)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setSupplierName (String supplierName) {
this .supplierName = supplierName;
}
public PricedSupplierContractWithAcquirer displayPriceQuote (Quote displayPriceQuote) {
this .displayPriceQuote = displayPriceQuote;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@Valid
@JsonProperty (JSON_PROPERTY_DISPLAY_PRICE_QUOTE)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public Quote getDisplayPriceQuote () {
return displayPriceQuote;
}
@JsonProperty (JSON_PROPERTY_DISPLAY_PRICE_QUOTE)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setDisplayPriceQuote (Quote displayPriceQuote) {
this .displayPriceQuote = displayPriceQuote;
}
public PricedSupplierContractWithAcquirer supplierPriceQuote (Quote supplierPriceQuote) {
this .supplierPriceQuote = supplierPriceQuote;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@Valid
@JsonProperty (JSON_PROPERTY_SUPPLIER_PRICE_QUOTE)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public Quote getSupplierPriceQuote () {
return supplierPriceQuote;
}
@JsonProperty (JSON_PROPERTY_SUPPLIER_PRICE_QUOTE)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setSupplierPriceQuote (Quote supplierPriceQuote) {
this .supplierPriceQuote = supplierPriceQuote;
}
public PricedSupplierContractWithAcquirer internalPriceQuote (Quote internalPriceQuote) {
this .internalPriceQuote = internalPriceQuote;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@Valid
@JsonProperty (JSON_PROPERTY_INTERNAL_PRICE_QUOTE)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public Quote getInternalPriceQuote () {
return internalPriceQuote;
}
@JsonProperty (JSON_PROPERTY_INTERNAL_PRICE_QUOTE)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setInternalPriceQuote (Quote internalPriceQuote) {
this .internalPriceQuote = internalPriceQuote;
}
public PricedSupplierContractWithAcquirer capturePriceQuote (Quote capturePriceQuote) {
this .capturePriceQuote = capturePriceQuote;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@Valid
@JsonProperty (JSON_PROPERTY_CAPTURE_PRICE_QUOTE)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public Quote getCapturePriceQuote () {
return capturePriceQuote;
}
@JsonProperty (JSON_PROPERTY_CAPTURE_PRICE_QUOTE)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setCapturePriceQuote (Quote capturePriceQuote) {
this .capturePriceQuote = capturePriceQuote;
}
@jakarta .annotation.Nonnull
@Valid
@Size (min=1 ,max=2147483647 )
@JsonProperty (JSON_PROPERTY_ITEM_LIST)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public List getItemList () {
return itemList;
}
public PricedSupplierContractWithAcquirer acquirer (List acquirer) {
this .acquirer = acquirer;
return this ;
}
public PricedSupplierContractWithAcquirer addAcquirerItem (Acquirer acquirerItem) {
if (this .acquirer == null ) {
this .acquirer = new ArrayList<>();
}
this .acquirer.add(acquirerItem);
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@Valid
@JsonProperty (JSON_PROPERTY_ACQUIRER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public List getAcquirer () {
return acquirer;
}
@JsonProperty (JSON_PROPERTY_ACQUIRER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setAcquirer (List acquirer) {
this .acquirer = acquirer;
}
public PricedSupplierContractWithAcquirer externalSupplierIdentifier (String externalSupplierIdentifier) {
this .externalSupplierIdentifier = externalSupplierIdentifier;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@JsonProperty (JSON_PROPERTY_EXTERNAL_SUPPLIER_IDENTIFIER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public String getExternalSupplierIdentifier () {
return externalSupplierIdentifier;
}
@JsonProperty (JSON_PROPERTY_EXTERNAL_SUPPLIER_IDENTIFIER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setExternalSupplierIdentifier (String externalSupplierIdentifier) {
this .externalSupplierIdentifier = externalSupplierIdentifier;
}
public PricedSupplierContractWithAcquirer externalSupplierBookingCode (String externalSupplierBookingCode) {
this .externalSupplierBookingCode = externalSupplierBookingCode;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@JsonProperty (JSON_PROPERTY_EXTERNAL_SUPPLIER_BOOKING_CODE)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public String getExternalSupplierBookingCode () {
return externalSupplierBookingCode;
}
@JsonProperty (JSON_PROPERTY_EXTERNAL_SUPPLIER_BOOKING_CODE)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setExternalSupplierBookingCode (String externalSupplierBookingCode) {
this .externalSupplierBookingCode = externalSupplierBookingCode;
}
public PricedSupplierContractWithAcquirer externalTransactionIdentifier (String externalTransactionIdentifier) {
this .externalTransactionIdentifier = externalTransactionIdentifier;
return this ;
}
@jakarta .annotation.Nonnull
@NotNull
@JsonProperty (JSON_PROPERTY_EXTERNAL_TRANSACTION_IDENTIFIER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public String getExternalTransactionIdentifier () {
return externalTransactionIdentifier;
}
@JsonProperty (JSON_PROPERTY_EXTERNAL_TRANSACTION_IDENTIFIER)
@JsonInclude (value = JsonInclude.Include.ALWAYS)
public void setExternalTransactionIdentifier (String externalTransactionIdentifier) {
this .externalTransactionIdentifier = externalTransactionIdentifier;
}
public PricedSupplierContractWithAcquirer metadata (Map metadata) {
this .metadata = metadata;
return this ;
}
public PricedSupplierContractWithAcquirer putMetadataItem (String key, String metadataItem) {
if (this .metadata == null ) {
this .metadata = new HashMap<>();
}
this .metadata.put(key, metadataItem);
return this ;
}
@jakarta .annotation.Nullable
@JsonProperty (JSON_PROPERTY_METADATA)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public Map getMetadata () {
return metadata;
}
@JsonProperty (JSON_PROPERTY_METADATA)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public void setMetadata (Map metadata) {
this .metadata = metadata;
}
public PricedSupplierContractWithAcquirer totalPrice (CustomMonetaryAmount totalPrice) {
this .totalPrice = totalPrice;
return this ;
}
@jakarta .annotation.Nullable
@Valid
@JsonProperty (JSON_PROPERTY_TOTAL_PRICE)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public CustomMonetaryAmount getTotalPrice () {
return totalPrice;
}
@JsonProperty (JSON_PROPERTY_TOTAL_PRICE)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalPrice (CustomMonetaryAmount totalPrice) {
this .totalPrice = totalPrice;
}
public PricedSupplierContractWithAcquirer totalDisplayPrice (CustomMonetaryAmount totalDisplayPrice) {
this .totalDisplayPrice = totalDisplayPrice;
return this ;
}
@jakarta .annotation.Nullable
@Valid
@JsonProperty (JSON_PROPERTY_TOTAL_DISPLAY_PRICE)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public CustomMonetaryAmount getTotalDisplayPrice () {
return totalDisplayPrice;
}
@JsonProperty (JSON_PROPERTY_TOTAL_DISPLAY_PRICE)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalDisplayPrice (CustomMonetaryAmount totalDisplayPrice) {
this .totalDisplayPrice = totalDisplayPrice;
}
public PricedSupplierContractWithAcquirer totalSupplierPrice (CustomMonetaryAmount totalSupplierPrice) {
this .totalSupplierPrice = totalSupplierPrice;
return this ;
}
@jakarta .annotation.Nullable
@Valid
@JsonProperty (JSON_PROPERTY_TOTAL_SUPPLIER_PRICE)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public CustomMonetaryAmount getTotalSupplierPrice () {
return totalSupplierPrice;
}
@JsonProperty (JSON_PROPERTY_TOTAL_SUPPLIER_PRICE)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalSupplierPrice (CustomMonetaryAmount totalSupplierPrice) {
this .totalSupplierPrice = totalSupplierPrice;
}
public PricedSupplierContractWithAcquirer totalInternalPrice (CustomMonetaryAmount totalInternalPrice) {
this .totalInternalPrice = totalInternalPrice;
return this ;
}
@jakarta .annotation.Nullable
@Valid
@JsonProperty (JSON_PROPERTY_TOTAL_INTERNAL_PRICE)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public CustomMonetaryAmount getTotalInternalPrice () {
return totalInternalPrice;
}
@JsonProperty (JSON_PROPERTY_TOTAL_INTERNAL_PRICE)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalInternalPrice (CustomMonetaryAmount totalInternalPrice) {
this .totalInternalPrice = totalInternalPrice;
}
public PricedSupplierContractWithAcquirer totalCapturePrice (CustomMonetaryAmount totalCapturePrice) {
this .totalCapturePrice = totalCapturePrice;
return this ;
}
@jakarta .annotation.Nullable
@Valid
@JsonProperty (JSON_PROPERTY_TOTAL_CAPTURE_PRICE)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public CustomMonetaryAmount getTotalCapturePrice () {
return totalCapturePrice;
}
@JsonProperty (JSON_PROPERTY_TOTAL_CAPTURE_PRICE)
@JsonInclude (value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalCapturePrice (CustomMonetaryAmount totalCapturePrice) {
this .totalCapturePrice = totalCapturePrice;
}
@Override
public boolean equals (Object o) {
if (this == o) {
return true ;
}
if (o == null || getClass() != o.getClass()) {
return false ;
}
PricedSupplierContractWithAcquirer pricedSupplierContractWithAcquirer = (PricedSupplierContractWithAcquirer) o;
return Objects.equals(this .federatedOrganizationIdentifier, pricedSupplierContractWithAcquirer.federatedOrganizationIdentifier) &&
Objects.equals(this .federatedOrganizationName, pricedSupplierContractWithAcquirer.federatedOrganizationName) &&
Objects.equals(this .user, pricedSupplierContractWithAcquirer.user) &&
Objects.equals(this .ipAddress, pricedSupplierContractWithAcquirer.ipAddress) &&
Objects.equals(this .traceId, pricedSupplierContractWithAcquirer.traceId) &&
Objects.equals(this .sourceUrl, pricedSupplierContractWithAcquirer.sourceUrl) &&
Objects.equals(this .identifier, pricedSupplierContractWithAcquirer.identifier) &&
Objects.equals(this .supplierIdentifier, pricedSupplierContractWithAcquirer.supplierIdentifier) &&
Objects.equals(this .supplierName, pricedSupplierContractWithAcquirer.supplierName) &&
Objects.equals(this .displayPriceQuote, pricedSupplierContractWithAcquirer.displayPriceQuote) &&
Objects.equals(this .supplierPriceQuote, pricedSupplierContractWithAcquirer.supplierPriceQuote) &&
Objects.equals(this .internalPriceQuote, pricedSupplierContractWithAcquirer.internalPriceQuote) &&
Objects.equals(this .capturePriceQuote, pricedSupplierContractWithAcquirer.capturePriceQuote) &&
Objects.equals(this .itemList, pricedSupplierContractWithAcquirer.itemList) &&
Objects.equals(this .acquirer, pricedSupplierContractWithAcquirer.acquirer) &&
Objects.equals(this .externalSupplierIdentifier, pricedSupplierContractWithAcquirer.externalSupplierIdentifier) &&
Objects.equals(this .externalSupplierBookingCode, pricedSupplierContractWithAcquirer.externalSupplierBookingCode) &&
Objects.equals(this .externalTransactionIdentifier, pricedSupplierContractWithAcquirer.externalTransactionIdentifier) &&
Objects.equals(this .metadata, pricedSupplierContractWithAcquirer.metadata) &&
Objects.equals(this .totalPrice, pricedSupplierContractWithAcquirer.totalPrice) &&
Objects.equals(this .totalDisplayPrice, pricedSupplierContractWithAcquirer.totalDisplayPrice) &&
Objects.equals(this .totalSupplierPrice, pricedSupplierContractWithAcquirer.totalSupplierPrice) &&
Objects.equals(this .totalInternalPrice, pricedSupplierContractWithAcquirer.totalInternalPrice) &&
Objects.equals(this .totalCapturePrice, pricedSupplierContractWithAcquirer.totalCapturePrice);
}
@Override
public int hashCode () {
return Objects.hash(federatedOrganizationIdentifier, federatedOrganizationName, user, ipAddress, traceId, sourceUrl, identifier, supplierIdentifier, supplierName, displayPriceQuote, supplierPriceQuote, internalPriceQuote, capturePriceQuote, itemList, acquirer, externalSupplierIdentifier, externalSupplierBookingCode, externalTransactionIdentifier, metadata, totalPrice, totalDisplayPrice, totalSupplierPrice, totalInternalPrice, totalCapturePrice);
}
@Override
public String toString () {
StringBuilder sb = new StringBuilder();
sb.append("class PricedSupplierContractWithAcquirer {\n" );
sb.append(" federatedOrganizationIdentifier: " ).append(toIndentedString(federatedOrganizationIdentifier)).append("\n" );
sb.append(" federatedOrganizationName: " ).append(toIndentedString(federatedOrganizationName)).append("\n" );
sb.append(" user: " ).append(toIndentedString(user)).append("\n" );
sb.append(" ipAddress: " ).append(toIndentedString(ipAddress)).append("\n" );
sb.append(" traceId: " ).append(toIndentedString(traceId)).append("\n" );
sb.append(" sourceUrl: " ).append(toIndentedString(sourceUrl)).append("\n" );
sb.append(" identifier: " ).append(toIndentedString(identifier)).append("\n" );
sb.append(" supplierIdentifier: " ).append(toIndentedString(supplierIdentifier)).append("\n" );
sb.append(" supplierName: " ).append(toIndentedString(supplierName)).append("\n" );
sb.append(" displayPriceQuote: " ).append(toIndentedString(displayPriceQuote)).append("\n" );
sb.append(" supplierPriceQuote: " ).append(toIndentedString(supplierPriceQuote)).append("\n" );
sb.append(" internalPriceQuote: " ).append(toIndentedString(internalPriceQuote)).append("\n" );
sb.append(" capturePriceQuote: " ).append(toIndentedString(capturePriceQuote)).append("\n" );
sb.append(" itemList: " ).append(toIndentedString(itemList)).append("\n" );
sb.append(" acquirer: " ).append(toIndentedString(acquirer)).append("\n" );
sb.append(" externalSupplierIdentifier: " ).append(toIndentedString(externalSupplierIdentifier)).append("\n" );
sb.append(" externalSupplierBookingCode: " ).append(toIndentedString(externalSupplierBookingCode)).append("\n" );
sb.append(" externalTransactionIdentifier: " ).append(toIndentedString(externalTransactionIdentifier)).append("\n" );
sb.append(" metadata: " ).append(toIndentedString(metadata)).append("\n" );
sb.append(" totalPrice: " ).append(toIndentedString(totalPrice)).append("\n" );
sb.append(" totalDisplayPrice: " ).append(toIndentedString(totalDisplayPrice)).append("\n" );
sb.append(" totalSupplierPrice: " ).append(toIndentedString(totalSupplierPrice)).append("\n" );
sb.append(" totalInternalPrice: " ).append(toIndentedString(totalInternalPrice)).append("\n" );
sb.append(" totalCapturePrice: " ).append(toIndentedString(totalCapturePrice)).append("\n" );
sb.append("}" );
return sb.toString();
}
private String toIndentedString (Object o) {
if (o == null ) {
return "null" ;
}
return o.toString().replace("\n" , "\n " );
}
}