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

com.lookfirst.wepay.api.req.AccountSetTaxRequest Maven / Gradle / Ivy

The newest version!
package com.lookfirst.wepay.api.req;

import lombok.Data;
import lombok.EqualsAndHashCode;

import com.lookfirst.wepay.api.AccountTax;

/**
 * https://stage.wepay.com/developer/reference/account
 *
 * This call lets you set tax rates for an account that will be applied to checkouts created for this account.
 * Taxes are only applied on a checkout if the "charge_tax" parameter is set to true when the checkout is created.
 *
 * @author Jon Scott Stevens
 * @author Jeff Schnitzer
 */
@Deprecated
@Data
@EqualsAndHashCode(callSuper=false)
public class AccountSetTaxRequest extends WePayRequest {

	/** The unique ID of the account you want to look up. */
	private Long accountId;

	/** An array of tax JSON objects. See below for the format tax objects should take. */
	private String taxes;

	/** */
	@Override
	public String getEndpoint() {
		return "/account/set_tax";
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy