
Model.Invoicingv2invoiceSettingsInvoiceSettingsInformation Maven / Gradle / Ivy
/*
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package Model;
import java.util.Objects;
import java.util.Arrays;
import Model.InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Invoicingv2invoiceSettingsInvoiceSettingsInformation
*/
public class Invoicingv2invoiceSettingsInvoiceSettingsInformation {
@SerializedName("merchantLogo")
private String merchantLogo = null;
@SerializedName("merchantDisplayName")
private String merchantDisplayName = null;
@SerializedName("customEmailMessage")
private String customEmailMessage = null;
@SerializedName("enableReminders")
private Boolean enableReminders = null;
@SerializedName("headerStyle")
private InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle headerStyle = null;
@SerializedName("deliveryLanguage")
private String deliveryLanguage = null;
@SerializedName("defaultCurrencyCode")
private String defaultCurrencyCode = null;
@SerializedName("payerAuthenticationInInvoicing")
private String payerAuthenticationInInvoicing = null;
@SerializedName("showVatNumber")
private Boolean showVatNumber = false;
@SerializedName("vatRegistrationNumber")
private String vatRegistrationNumber = null;
@SerializedName("shipTo")
private Boolean shipTo = false;
@SerializedName("phoneNumber")
private Boolean phoneNumber = false;
@SerializedName("email")
private Boolean email = false;
@SerializedName("enableMerchantEmailNotifications")
private Boolean enableMerchantEmailNotifications = false;
public Invoicingv2invoiceSettingsInvoiceSettingsInformation merchantLogo(String merchantLogo) {
this.merchantLogo = merchantLogo;
return this;
}
/**
* The image file, which must be encoded in Base64 format. Supported file formats are `png`, `jpg`, and `gif`. The image file size restriction is 1 MB.
* @return merchantLogo
**/
@ApiModelProperty(value = "The image file, which must be encoded in Base64 format. Supported file formats are `png`, `jpg`, and `gif`. The image file size restriction is 1 MB.")
public String getMerchantLogo() {
return merchantLogo;
}
public void setMerchantLogo(String merchantLogo) {
this.merchantLogo = merchantLogo;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation merchantDisplayName(String merchantDisplayName) {
this.merchantDisplayName = merchantDisplayName;
return this;
}
/**
* The merchant's display name shown on the invoice.
* @return merchantDisplayName
**/
@ApiModelProperty(value = "The merchant's display name shown on the invoice.")
public String getMerchantDisplayName() {
return merchantDisplayName;
}
public void setMerchantDisplayName(String merchantDisplayName) {
this.merchantDisplayName = merchantDisplayName;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation customEmailMessage(String customEmailMessage) {
this.customEmailMessage = customEmailMessage;
return this;
}
/**
* The content of the email message that we send to your customers.
* @return customEmailMessage
**/
@ApiModelProperty(value = "The content of the email message that we send to your customers.")
public String getCustomEmailMessage() {
return customEmailMessage;
}
public void setCustomEmailMessage(String customEmailMessage) {
this.customEmailMessage = customEmailMessage;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation enableReminders(Boolean enableReminders) {
this.enableReminders = enableReminders;
return this;
}
/**
* Whether you would like us to send an auto-generated reminder email to your invoice recipients. Currently, this reminder email is sent five days before the invoice is due and one day after it is past due.
* @return enableReminders
**/
@ApiModelProperty(value = "Whether you would like us to send an auto-generated reminder email to your invoice recipients. Currently, this reminder email is sent five days before the invoice is due and one day after it is past due.")
public Boolean EnableReminders() {
return enableReminders;
}
public void setEnableReminders(Boolean enableReminders) {
this.enableReminders = enableReminders;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation headerStyle(InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle headerStyle) {
this.headerStyle = headerStyle;
return this;
}
/**
* Get headerStyle
* @return headerStyle
**/
@ApiModelProperty(value = "")
public InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle getHeaderStyle() {
return headerStyle;
}
public void setHeaderStyle(InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle headerStyle) {
this.headerStyle = headerStyle;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation deliveryLanguage(String deliveryLanguage) {
this.deliveryLanguage = deliveryLanguage;
return this;
}
/**
* The language of the email that we send to your customers. Possible values are `zh-CN`, `zh-TW`, `en-US`, `fr-FR`, `de-DE`, `ja-JP`, `pt-BR`, `ru-RU` and `es-419`.
* @return deliveryLanguage
**/
@ApiModelProperty(value = "The language of the email that we send to your customers. Possible values are `zh-CN`, `zh-TW`, `en-US`, `fr-FR`, `de-DE`, `ja-JP`, `pt-BR`, `ru-RU` and `es-419`.")
public String getDeliveryLanguage() {
return deliveryLanguage;
}
public void setDeliveryLanguage(String deliveryLanguage) {
this.deliveryLanguage = deliveryLanguage;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation defaultCurrencyCode(String defaultCurrencyCode) {
this.defaultCurrencyCode = defaultCurrencyCode;
return this;
}
/**
* Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency.
* @return defaultCurrencyCode
**/
@ApiModelProperty(value = "Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency. ")
public String getDefaultCurrencyCode() {
return defaultCurrencyCode;
}
public void setDefaultCurrencyCode(String defaultCurrencyCode) {
this.defaultCurrencyCode = defaultCurrencyCode;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation payerAuthenticationInInvoicing(String payerAuthenticationInInvoicing) {
this.payerAuthenticationInInvoicing = payerAuthenticationInInvoicing;
return this;
}
/**
* For a merchant's invoice payments, enable 3D Secure payer authentication version 1, update to 3D Secure version 2, or disable 3D Secure. Possible values are: - `enable` - `update` - `disable`
* @return payerAuthenticationInInvoicing
**/
@ApiModelProperty(value = "For a merchant's invoice payments, enable 3D Secure payer authentication version 1, update to 3D Secure version 2, or disable 3D Secure. Possible values are: - `enable` - `update` - `disable` ")
public String getPayerAuthenticationInInvoicing() {
return payerAuthenticationInInvoicing;
}
public void setPayerAuthenticationInInvoicing(String payerAuthenticationInInvoicing) {
this.payerAuthenticationInInvoicing = payerAuthenticationInInvoicing;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation showVatNumber(Boolean showVatNumber) {
this.showVatNumber = showVatNumber;
return this;
}
/**
* Display VAT number on Invoice.
* @return showVatNumber
**/
@ApiModelProperty(value = "Display VAT number on Invoice.")
public Boolean ShowVatNumber() {
return showVatNumber;
}
public void setShowVatNumber(Boolean showVatNumber) {
this.showVatNumber = showVatNumber;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation vatRegistrationNumber(String vatRegistrationNumber) {
this.vatRegistrationNumber = vatRegistrationNumber;
return this;
}
/**
* Your government-assigned tax identification number. #### Tax Calculation Required field for value added tax only. Not applicable to U.S. and Canadian taxes.
* @return vatRegistrationNumber
**/
@ApiModelProperty(value = "Your government-assigned tax identification number. #### Tax Calculation Required field for value added tax only. Not applicable to U.S. and Canadian taxes. ")
public String getVatRegistrationNumber() {
return vatRegistrationNumber;
}
public void setVatRegistrationNumber(String vatRegistrationNumber) {
this.vatRegistrationNumber = vatRegistrationNumber;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation shipTo(Boolean shipTo) {
this.shipTo = shipTo;
return this;
}
/**
* Collect the payers shipping address.
* @return shipTo
**/
@ApiModelProperty(value = "Collect the payers shipping address.")
public Boolean ShipTo() {
return shipTo;
}
public void setShipTo(Boolean shipTo) {
this.shipTo = shipTo;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation phoneNumber(Boolean phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* Collect the payers phone number.
* @return phoneNumber
**/
@ApiModelProperty(value = "Collect the payers phone number.")
public Boolean PhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(Boolean phoneNumber) {
this.phoneNumber = phoneNumber;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation email(Boolean email) {
this.email = email;
return this;
}
/**
* Collect the payers email address when the email address is not known or confirm it if it is known at the time of invoice creation.
* @return email
**/
@ApiModelProperty(value = "Collect the payers email address when the email address is not known or confirm it if it is known at the time of invoice creation.")
public Boolean Email() {
return email;
}
public void setEmail(Boolean email) {
this.email = email;
}
public Invoicingv2invoiceSettingsInvoiceSettingsInformation enableMerchantEmailNotifications(Boolean enableMerchantEmailNotifications) {
this.enableMerchantEmailNotifications = enableMerchantEmailNotifications;
return this;
}
/**
* Whether you would like to receive payment notification for successful transaction
* @return enableMerchantEmailNotifications
**/
@ApiModelProperty(value = "Whether you would like to receive payment notification for successful transaction")
public Boolean EnableMerchantEmailNotifications() {
return enableMerchantEmailNotifications;
}
public void setEnableMerchantEmailNotifications(Boolean enableMerchantEmailNotifications) {
this.enableMerchantEmailNotifications = enableMerchantEmailNotifications;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Invoicingv2invoiceSettingsInvoiceSettingsInformation invoicingv2invoiceSettingsInvoiceSettingsInformation = (Invoicingv2invoiceSettingsInvoiceSettingsInformation) o;
return Objects.equals(this.merchantLogo, invoicingv2invoiceSettingsInvoiceSettingsInformation.merchantLogo) &&
Objects.equals(this.merchantDisplayName, invoicingv2invoiceSettingsInvoiceSettingsInformation.merchantDisplayName) &&
Objects.equals(this.customEmailMessage, invoicingv2invoiceSettingsInvoiceSettingsInformation.customEmailMessage) &&
Objects.equals(this.enableReminders, invoicingv2invoiceSettingsInvoiceSettingsInformation.enableReminders) &&
Objects.equals(this.headerStyle, invoicingv2invoiceSettingsInvoiceSettingsInformation.headerStyle) &&
Objects.equals(this.deliveryLanguage, invoicingv2invoiceSettingsInvoiceSettingsInformation.deliveryLanguage) &&
Objects.equals(this.defaultCurrencyCode, invoicingv2invoiceSettingsInvoiceSettingsInformation.defaultCurrencyCode) &&
Objects.equals(this.payerAuthenticationInInvoicing, invoicingv2invoiceSettingsInvoiceSettingsInformation.payerAuthenticationInInvoicing) &&
Objects.equals(this.showVatNumber, invoicingv2invoiceSettingsInvoiceSettingsInformation.showVatNumber) &&
Objects.equals(this.vatRegistrationNumber, invoicingv2invoiceSettingsInvoiceSettingsInformation.vatRegistrationNumber) &&
Objects.equals(this.shipTo, invoicingv2invoiceSettingsInvoiceSettingsInformation.shipTo) &&
Objects.equals(this.phoneNumber, invoicingv2invoiceSettingsInvoiceSettingsInformation.phoneNumber) &&
Objects.equals(this.email, invoicingv2invoiceSettingsInvoiceSettingsInformation.email) &&
Objects.equals(this.enableMerchantEmailNotifications, invoicingv2invoiceSettingsInvoiceSettingsInformation.enableMerchantEmailNotifications);
}
@Override
public int hashCode() {
return Objects.hash(merchantLogo, merchantDisplayName, customEmailMessage, enableReminders, headerStyle, deliveryLanguage, defaultCurrencyCode, payerAuthenticationInInvoicing, showVatNumber, vatRegistrationNumber, shipTo, phoneNumber, email, enableMerchantEmailNotifications);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Invoicingv2invoiceSettingsInvoiceSettingsInformation {\n");
if (merchantLogo != null) sb.append(" merchantLogo: ").append(toIndentedString(merchantLogo)).append("\n");
if (merchantDisplayName != null) sb.append(" merchantDisplayName: ").append(toIndentedString(merchantDisplayName)).append("\n");
if (customEmailMessage != null) sb.append(" customEmailMessage: ").append(toIndentedString(customEmailMessage)).append("\n");
if (enableReminders != null) sb.append(" enableReminders: ").append(toIndentedString(enableReminders)).append("\n");
if (headerStyle != null) sb.append(" headerStyle: ").append(toIndentedString(headerStyle)).append("\n");
if (deliveryLanguage != null) sb.append(" deliveryLanguage: ").append(toIndentedString(deliveryLanguage)).append("\n");
if (defaultCurrencyCode != null) sb.append(" defaultCurrencyCode: ").append(toIndentedString(defaultCurrencyCode)).append("\n");
if (payerAuthenticationInInvoicing != null) sb.append(" payerAuthenticationInInvoicing: ").append(toIndentedString(payerAuthenticationInInvoicing)).append("\n");
if (showVatNumber != null) sb.append(" showVatNumber: ").append(toIndentedString(showVatNumber)).append("\n");
if (vatRegistrationNumber != null) sb.append(" vatRegistrationNumber: ").append(toIndentedString(vatRegistrationNumber)).append("\n");
if (shipTo != null) sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n");
if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n");
if (enableMerchantEmailNotifications != null) sb.append(" enableMerchantEmailNotifications: ").append(toIndentedString(enableMerchantEmailNotifications)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
// return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy