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

com.recurly.v3.requests.InvoiceUpdate Maven / Gradle / Ivy

There is a newer version: 4.58.0
Show newest version
/**
 * This file is automatically created by Recurly's OpenAPI generation process and thus any edits you
 * make by hand will be lost. If you wish to make a change to this file, please create a Github
 * issue explaining the changes you need and we will usher them to the appropriate places.
 */
package com.recurly.v3.requests;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.recurly.v3.Request;
import com.recurly.v3.resources.*;

public class InvoiceUpdate extends Request {

  @SerializedName("address")
  @Expose
  private InvoiceAddress address;

  /** Customer notes are an optional note field. */
  @SerializedName("customer_notes")
  @Expose
  private String customerNotes;

  /**
   * An alphanumeric code shown per gateway on your site's payment gateways page. Set this code to
   * ensure that a given invoice targets a given gateway.
   */
  @SerializedName("gateway_code")
  @Expose
  private String gatewayCode;

  /**
   * Integer representing the number of days after an invoice's creation that the invoice will
   * become past due. Changing Net terms changes due_on, and the invoice could move between past due
   * and pending.
   */
  @SerializedName("net_terms")
  @Expose
  private Integer netTerms;

  /**
   * This identifies the PO number associated with the invoice. Not editable for credit invoices.
   */
  @SerializedName("po_number")
  @Expose
  private String poNumber;

  /** Terms and conditions are an optional note field. Not editable for credit invoices. */
  @SerializedName("terms_and_conditions")
  @Expose
  private String termsAndConditions;

  /**
   * VAT Reverse Charge Notes are editable only if there was a VAT reverse charge applied to the
   * invoice.
   */
  @SerializedName("vat_reverse_charge_notes")
  @Expose
  private String vatReverseChargeNotes;

  public InvoiceAddress getAddress() {
    return this.address;
  }

  /** @param address */
  public void setAddress(final InvoiceAddress address) {
    this.address = address;
  }

  /** Customer notes are an optional note field. */
  public String getCustomerNotes() {
    return this.customerNotes;
  }

  /** @param customerNotes Customer notes are an optional note field. */
  public void setCustomerNotes(final String customerNotes) {
    this.customerNotes = customerNotes;
  }

  /**
   * An alphanumeric code shown per gateway on your site's payment gateways page. Set this code to
   * ensure that a given invoice targets a given gateway.
   */
  public String getGatewayCode() {
    return this.gatewayCode;
  }

  /**
   * @param gatewayCode An alphanumeric code shown per gateway on your site's payment gateways page.
   *     Set this code to ensure that a given invoice targets a given gateway.
   */
  public void setGatewayCode(final String gatewayCode) {
    this.gatewayCode = gatewayCode;
  }

  /**
   * Integer representing the number of days after an invoice's creation that the invoice will
   * become past due. Changing Net terms changes due_on, and the invoice could move between past due
   * and pending.
   */
  public Integer getNetTerms() {
    return this.netTerms;
  }

  /**
   * @param netTerms Integer representing the number of days after an invoice's creation that the
   *     invoice will become past due. Changing Net terms changes due_on, and the invoice could move
   *     between past due and pending.
   */
  public void setNetTerms(final Integer netTerms) {
    this.netTerms = netTerms;
  }

  /**
   * This identifies the PO number associated with the invoice. Not editable for credit invoices.
   */
  public String getPoNumber() {
    return this.poNumber;
  }

  /**
   * @param poNumber This identifies the PO number associated with the invoice. Not editable for
   *     credit invoices.
   */
  public void setPoNumber(final String poNumber) {
    this.poNumber = poNumber;
  }

  /** Terms and conditions are an optional note field. Not editable for credit invoices. */
  public String getTermsAndConditions() {
    return this.termsAndConditions;
  }

  /**
   * @param termsAndConditions Terms and conditions are an optional note field. Not editable for
   *     credit invoices.
   */
  public void setTermsAndConditions(final String termsAndConditions) {
    this.termsAndConditions = termsAndConditions;
  }

  /**
   * VAT Reverse Charge Notes are editable only if there was a VAT reverse charge applied to the
   * invoice.
   */
  public String getVatReverseChargeNotes() {
    return this.vatReverseChargeNotes;
  }

  /**
   * @param vatReverseChargeNotes VAT Reverse Charge Notes are editable only if there was a VAT
   *     reverse charge applied to the invoice.
   */
  public void setVatReverseChargeNotes(final String vatReverseChargeNotes) {
    this.vatReverseChargeNotes = vatReverseChargeNotes;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy