All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.co.yahoo.adssearchapi.v14.model.AccountManagementServicePayment Maven / Gradle / Ivy

The newest version!
/*
 * Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
 * 
Yahoo!広告 検索広告 APIのWebサービスについて説明します。
Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
OpenAPI Specification
Best Practice
Best Practice
* * The version of the OpenAPI document: v14 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package jp.co.yahoo.adssearchapi.v14.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.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import jp.co.yahoo.adssearchapi.v14.model.AccountManagementServiceInvoice; import jp.co.yahoo.adssearchapi.v14.model.AccountManagementServicePaymentType; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AccountManagementServicePaymentオブジェクトは、支払情報を保持します。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。</div> <div lang=\"en\">AccountManagementServicePayment object contains the payment information.<br> This field is required in ADD operation, and will be optional in SET operation.</div> */ @ApiModel(description = "
AccountManagementServicePaymentオブジェクトは、支払情報を保持します。
このフィールドは、ADD時は必須となり、SET時は省略可能となります。
AccountManagementServicePayment object contains the payment information.
This field is required in ADD operation, and will be optional in SET operation.
") @JsonPropertyOrder({ AccountManagementServicePayment.JSON_PROPERTY_INVOICE, AccountManagementServicePayment.JSON_PROPERTY_PAYMENT_TYPE }) @JsonTypeName("AccountManagementServicePayment") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AccountManagementServicePayment { public static final String JSON_PROPERTY_INVOICE = "invoice"; private AccountManagementServiceInvoice invoice; public static final String JSON_PROPERTY_PAYMENT_TYPE = "paymentType"; private AccountManagementServicePaymentType paymentType; public AccountManagementServicePayment() { } public AccountManagementServicePayment invoice(AccountManagementServiceInvoice invoice) { this.invoice = invoice; return this; } /** * Get invoice * @return invoice **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_INVOICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AccountManagementServiceInvoice getInvoice() { return invoice; } @JsonProperty(JSON_PROPERTY_INVOICE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInvoice(AccountManagementServiceInvoice invoice) { this.invoice = invoice; } public AccountManagementServicePayment paymentType(AccountManagementServicePaymentType paymentType) { this.paymentType = paymentType; return this; } /** * Get paymentType * @return paymentType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PAYMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AccountManagementServicePaymentType getPaymentType() { return paymentType; } @JsonProperty(JSON_PROPERTY_PAYMENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPaymentType(AccountManagementServicePaymentType paymentType) { this.paymentType = paymentType; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AccountManagementServicePayment accountManagementServicePayment = (AccountManagementServicePayment) o; return Objects.equals(this.invoice, accountManagementServicePayment.invoice) && Objects.equals(this.paymentType, accountManagementServicePayment.paymentType); } @Override public int hashCode() { return Objects.hash(invoice, paymentType); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AccountManagementServicePayment {\n"); sb.append(" invoice: ").append(toIndentedString(invoice)).append("\n"); sb.append(" paymentType: ").append(toIndentedString(paymentType)).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(Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy