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

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

There is a newer version: 4.59.1
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.Constants;
import com.recurly.v3.Request;
import com.recurly.v3.resources.*;

public class ProrationSettings extends Request {

  /** Determines how the amount charged is determined for this change */
  @SerializedName("charge")
  @Expose
  private Constants.ProrationSettingsCharge charge;

  /** Determines how the amount credited is determined for this change */
  @SerializedName("credit")
  @Expose
  private Constants.ProrationSettingsCredit credit;

  /** Determines how the amount charged is determined for this change */
  public Constants.ProrationSettingsCharge getCharge() {
    return this.charge;
  }

  /** @param charge Determines how the amount charged is determined for this change */
  public void setCharge(final Constants.ProrationSettingsCharge charge) {
    this.charge = charge;
  }

  /** Determines how the amount credited is determined for this change */
  public Constants.ProrationSettingsCredit getCredit() {
    return this.credit;
  }

  /** @param credit Determines how the amount credited is determined for this change */
  public void setCredit(final Constants.ProrationSettingsCredit credit) {
    this.credit = credit;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy