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

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

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

import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

import com.lookfirst.wepay.api.AccountUri;
import com.lookfirst.wepay.api.ThemeObject;

/**
 * https://stage.wepay.com/developer/reference/account
 *
 * Updates the specified properties. If reference_id is passed it MUST be unique for the user/application pair.
 *
 * @author Jon Scott Stevens
 * @author Jeff Schnitzer
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class AccountModifyRequest extends WePayRequest {

	/** The unique ID of the account you want to modify. */
	private Long accountId;
	/** The name of the account you want to modify. */
	private String name;
	/** The description of the account you want to modify. */
	private String description;
	/** The reference id of the account. Can be any integer, but must be unique for the application/user pair. */
	private String referenceId;
	/** The uri for an image that you want to use for the accounts icon. This image will be used in the co-branded checkout process. */
	private String imageUri;
	/** The list of Google Analytics account ids that WePay will throw events to and use for tracking. */
	private List gaqDomains;
	/** The theme object you want to be used for account's checkout flows, withdrawal flows, and emails */
	private ThemeObject themeObject;
	/** The uri that will receive IPNs for this account. You will receive an IPN whenever the account is verified or deleted. */
	private String callbackUri;

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy