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

com.recurly.v3.requests.ShippingMethodCreate 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 ShippingMethodCreate extends Request {

  /** Accounting code for shipping method. */
  @SerializedName("accounting_code")
  @Expose
  private String accountingCode;

  /** The internal name used identify the shipping method. */
  @SerializedName("code")
  @Expose
  private String code;

  /**
   * The ID of a general ledger account. General ledger accounts are only accessible as a part of
   * the Recurly RevRec Standard and Recurly RevRec Advanced features.
   */
  @SerializedName("liability_gl_account_id")
  @Expose
  private String liabilityGlAccountId;

  /** The name of the shipping method displayed to customers. */
  @SerializedName("name")
  @Expose
  private String name;

  /**
   * The ID of a performance obligation. Performance obligations are only accessible as a part of
   * the Recurly RevRec Standard and Recurly RevRec Advanced features.
   */
  @SerializedName("performance_obligation_id")
  @Expose
  private String performanceObligationId;

  /**
   * The ID of a general ledger account. General ledger accounts are only accessible as a part of
   * the Recurly RevRec Standard and Recurly RevRec Advanced features.
   */
  @SerializedName("revenue_gl_account_id")
  @Expose
  private String revenueGlAccountId;

  /**
   * Used by Avalara, Vertex, and Recurly’s built-in tax feature. The tax code values are specific
   * to each tax system. If you are using Recurly’s built-in taxes the values are:
   *
   * 

- `FR` – Common Carrier FOB Destination - `FR022000` – Common Carrier FOB Origin - * `FR020400` – Non Common Carrier FOB Destination - `FR020500` – Non Common Carrier FOB Origin - * `FR010100` – Delivery by Company Vehicle Before Passage of Title - `FR010200` – Delivery by * Company Vehicle After Passage of Title - `NT` – Non-Taxable */ @SerializedName("tax_code") @Expose private String taxCode; /** Accounting code for shipping method. */ public String getAccountingCode() { return this.accountingCode; } /** @param accountingCode Accounting code for shipping method. */ public void setAccountingCode(final String accountingCode) { this.accountingCode = accountingCode; } /** The internal name used identify the shipping method. */ public String getCode() { return this.code; } /** @param code The internal name used identify the shipping method. */ public void setCode(final String code) { this.code = code; } /** * The ID of a general ledger account. General ledger accounts are only accessible as a part of * the Recurly RevRec Standard and Recurly RevRec Advanced features. */ public String getLiabilityGlAccountId() { return this.liabilityGlAccountId; } /** * @param liabilityGlAccountId The ID of a general ledger account. General ledger accounts are * only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced * features. */ public void setLiabilityGlAccountId(final String liabilityGlAccountId) { this.liabilityGlAccountId = liabilityGlAccountId; } /** The name of the shipping method displayed to customers. */ public String getName() { return this.name; } /** @param name The name of the shipping method displayed to customers. */ public void setName(final String name) { this.name = name; } /** * The ID of a performance obligation. Performance obligations are only accessible as a part of * the Recurly RevRec Standard and Recurly RevRec Advanced features. */ public String getPerformanceObligationId() { return this.performanceObligationId; } /** * @param performanceObligationId The ID of a performance obligation. Performance obligations are * only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced * features. */ public void setPerformanceObligationId(final String performanceObligationId) { this.performanceObligationId = performanceObligationId; } /** * The ID of a general ledger account. General ledger accounts are only accessible as a part of * the Recurly RevRec Standard and Recurly RevRec Advanced features. */ public String getRevenueGlAccountId() { return this.revenueGlAccountId; } /** * @param revenueGlAccountId The ID of a general ledger account. General ledger accounts are only * accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features. */ public void setRevenueGlAccountId(final String revenueGlAccountId) { this.revenueGlAccountId = revenueGlAccountId; } /** * Used by Avalara, Vertex, and Recurly’s built-in tax feature. The tax code values are specific * to each tax system. If you are using Recurly’s built-in taxes the values are: * *

- `FR` – Common Carrier FOB Destination - `FR022000` – Common Carrier FOB Origin - * `FR020400` – Non Common Carrier FOB Destination - `FR020500` – Non Common Carrier FOB Origin - * `FR010100` – Delivery by Company Vehicle Before Passage of Title - `FR010200` – Delivery by * Company Vehicle After Passage of Title - `NT` – Non-Taxable */ public String getTaxCode() { return this.taxCode; } /** * @param taxCode Used by Avalara, Vertex, and Recurly’s built-in tax feature. The tax code values * are specific to each tax system. If you are using Recurly’s built-in taxes the values are: *

- `FR` – Common Carrier FOB Destination - `FR022000` – Common Carrier FOB Origin - * `FR020400` – Non Common Carrier FOB Destination - `FR020500` – Non Common Carrier FOB * Origin - `FR010100` – Delivery by Company Vehicle Before Passage of Title - `FR010200` – * Delivery by Company Vehicle After Passage of Title - `NT` – Non-Taxable */ public void setTaxCode(final String taxCode) { this.taxCode = taxCode; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy