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

com.recurly.v3.resources.BusinessEntity 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.resources;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.recurly.v3.Resource;
import java.util.List;
import org.joda.time.DateTime;

public class BusinessEntity extends Resource {

  /** The entity code of the business entity. */
  @SerializedName("code")
  @Expose
  private String code;

  /** Created at */
  @SerializedName("created_at")
  @Expose
  private DateTime createdAt;

  /** Registration number for the customer used on the invoice. */
  @SerializedName("default_registration_number")
  @Expose
  private String defaultRegistrationNumber;

  /** VAT number for the customer used on the invoice. */
  @SerializedName("default_vat_number")
  @Expose
  private String defaultVatNumber;

  /** Business entity ID */
  @SerializedName("id")
  @Expose
  private String id;

  /** Address information for the business entity that will appear on the invoice. */
  @SerializedName("invoice_display_address")
  @Expose
  private Address invoiceDisplayAddress;

  /** This name describes your business entity and will appear on the invoice. */
  @SerializedName("name")
  @Expose
  private String name;

  /** Object type */
  @SerializedName("object")
  @Expose
  private String object;

  /** List of countries for which the business entity will be used. */
  @SerializedName("subscriber_location_countries")
  @Expose
  private List subscriberLocationCountries;

  /** Address information for the business entity that will be used for calculating taxes. */
  @SerializedName("tax_address")
  @Expose
  private Address taxAddress;

  /** Last updated at */
  @SerializedName("updated_at")
  @Expose
  private DateTime updatedAt;

  /** The entity code of the business entity. */
  public String getCode() {
    return this.code;
  }

  /** @param code The entity code of the business entity. */
  public void setCode(final String code) {
    this.code = code;
  }

  /** Created at */
  public DateTime getCreatedAt() {
    return this.createdAt;
  }

  /** @param createdAt Created at */
  public void setCreatedAt(final DateTime createdAt) {
    this.createdAt = createdAt;
  }

  /** Registration number for the customer used on the invoice. */
  public String getDefaultRegistrationNumber() {
    return this.defaultRegistrationNumber;
  }

  /** @param defaultRegistrationNumber Registration number for the customer used on the invoice. */
  public void setDefaultRegistrationNumber(final String defaultRegistrationNumber) {
    this.defaultRegistrationNumber = defaultRegistrationNumber;
  }

  /** VAT number for the customer used on the invoice. */
  public String getDefaultVatNumber() {
    return this.defaultVatNumber;
  }

  /** @param defaultVatNumber VAT number for the customer used on the invoice. */
  public void setDefaultVatNumber(final String defaultVatNumber) {
    this.defaultVatNumber = defaultVatNumber;
  }

  /** Business entity ID */
  public String getId() {
    return this.id;
  }

  /** @param id Business entity ID */
  public void setId(final String id) {
    this.id = id;
  }

  /** Address information for the business entity that will appear on the invoice. */
  public Address getInvoiceDisplayAddress() {
    return this.invoiceDisplayAddress;
  }

  /**
   * @param invoiceDisplayAddress Address information for the business entity that will appear on
   *     the invoice.
   */
  public void setInvoiceDisplayAddress(final Address invoiceDisplayAddress) {
    this.invoiceDisplayAddress = invoiceDisplayAddress;
  }

  /** This name describes your business entity and will appear on the invoice. */
  public String getName() {
    return this.name;
  }

  /** @param name This name describes your business entity and will appear on the invoice. */
  public void setName(final String name) {
    this.name = name;
  }

  /** Object type */
  public String getObject() {
    return this.object;
  }

  /** @param object Object type */
  public void setObject(final String object) {
    this.object = object;
  }

  /** List of countries for which the business entity will be used. */
  public List getSubscriberLocationCountries() {
    return this.subscriberLocationCountries;
  }

  /**
   * @param subscriberLocationCountries List of countries for which the business entity will be
   *     used.
   */
  public void setSubscriberLocationCountries(final List subscriberLocationCountries) {
    this.subscriberLocationCountries = subscriberLocationCountries;
  }

  /** Address information for the business entity that will be used for calculating taxes. */
  public Address getTaxAddress() {
    return this.taxAddress;
  }

  /**
   * @param taxAddress Address information for the business entity that will be used for calculating
   *     taxes.
   */
  public void setTaxAddress(final Address taxAddress) {
    this.taxAddress = taxAddress;
  }

  /** Last updated at */
  public DateTime getUpdatedAt() {
    return this.updatedAt;
  }

  /** @param updatedAt Last updated at */
  public void setUpdatedAt(final DateTime updatedAt) {
    this.updatedAt = updatedAt;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy