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

com.paypal.orders.Authorization Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// This class was generated on Thu, 16 May 2019 09:53:44 PDT by version 0.1.0-dev+8fcb5f of Braintree SDK Generator
// Authorization.java
// @version 0.1.0-dev+8fcb5f
// @type object
// @data H4sIAAAAAAAC/+xabW/jxvF///8UA+UP5ARIontPSfzOvbs0amNbsHUFCvcgrbgjcevlLrM7tMwW+e7F7pKS+KDzpZHVHqAXhqGZITmPv5kh91+9aZFh77zHckq0Ef9kJLTqDXp/ZUawhcQrlnax/4JFyekNeu/RxkZknnXemyYIlThyyFiRoiIgw5RlsRMa9Qa9C2NYEZ59NujdIOPXSha98yWTFh3hl1wY5BvCxOgMDQm0vfO7jdaXWmHRoW2qc0U1NTektrJxbgyquACmOAQ5WGoDDJZCMRULJne1H4DN4wSYBQYLJpmKEbTZ2MlzPJx9loxQq7aBlcqzWHOs2dnktM29o8QgDuOEGRYTGhjfXg9fv/zDd1tHuGs/vYi4jm0kFOHK+LhHXBiMKTJoKaqEh07YRn2ghBEIjorEUqAF2nHtb/IImbzhEJVL+evgSa88MJnXvVFR2l7wnAGsExEnkIpVQrDA87/nZ2ev4lz6/xh+SRF+XSjwvkDjs6M0zVkqxT3C/M+Tv82DE5hBUJqAikzETMoClibkDpOjcNOoumvjGcAxFimTmyu6nzW9er/zLJsvuHgQHLnTUAMlOrdMcUps9+OiysIftfFxMqXzQeXpAg3o5UaRTLIYbVkQtQwZgEWEu3cV7Z1LhN+aNofIjE87uVEDqpklRrmdcSQmpH0C1trS20RqsdoZVfKc76gbAsNNnh8dDDLbQOkNqa13YME6KZp6B31BWJhPPly9H1/9af57lW/Fay/CGWSEMxJpA99q9I4oMEIP5E5iAELB3VgRGoVU57mMThl9epEQZfY8ikhraUcCaTnSZhUllMrILONXr1798I1FX4zDN6O3/RHcYqwVt772NpWzToTEnUIHuyOls1r1L6SO73/JNeFuVVoyWq0C5UpThUbRLh1CxF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cRpxKD7W1Gx3FuG2PEHmTxaHJgrRyyHma18BIHLpVLN0/tmc3aY9lTW4GbU2OtCB9piCrWXKgV+Bo/wjeFhVDMFLPquTXtA+/DltW1HShC1dY7jAeXuSSR5SbTFmHzkuaSCQkfHgmVdeABLy7Hlx/6MGGG4FrhuRvxU0YueNtr0Fq2Qvij5gLtk2PQy7PXb/pHGudaszg9PYb/x/6ZrvU5+PQDp9YXeeJt/+Dvb/eBhtL172/h97P2BoX7O3Ng1jTSCg/cmbfyB0aZfQmXMUpmlpip+9qRb0tqI/c0sCyTRVjCg67gvxghODOYitF+Cx9vxnYA/sae5X7vLO/+29mRmk/GyBXDLNte2jDVsSe73Ha5lVKwvcmxtN+j9X51D12fn915wsJy2958GozT/nPaf077z2n/Oe0/p/3ntP+c9p/T/nPaf077z2n/+Qr2n71YJUg2wKqktN0XlhvHPvzxN5QSjYsuhU91HR+mOkR2vlF1cDsswAeUrqS3cqCXSzTIm5+BwxEcuPX3hclWfqkNXKKJE6ao8YEvY0XG5CjWaZTbaI0LlmU2SrMsshjnRlARBT2H2+f3n7+jc2GznHAWM8KVNq3ZuIu9Hw1jrcLWaLcnb2P94H1YnVHaf8j9uSAwnNHsOKvasmWsuHCmWlgnSAm2NAZhAaVYiYX0J+YgxGwnZ8KZC6HCeY1wFt51768mZ74YHr7cra68yoOy//WTannGOw/N1umng5T/uwcpP/36f/8GAAD//w==
// DO NOT EDIT
package com.paypal.orders;

import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
import com.paypal.http.annotations.*;
/**
 * The authorized payment transaction.
 */
@Model
public class Authorization {

    // Required default constructor
    public Authorization() {}

	/**
	* The currency and amount for a financial transaction, such as a balance or payment due.
	*/
	@SerializedName("amount")
	private Money amount;

	public Money amount() { return amount; }

	public Authorization amount(Money amount) {
	    this.amount = amount;
	    return this;
	}

	/**
	* The details of the authorized payment status.
	*/
	@SerializedName("status_details")
	private AuthorizationStatusDetails authorizationStatusDetails;

	public AuthorizationStatusDetails authorizationStatusDetails() { return authorizationStatusDetails; }

	public Authorization authorizationStatusDetails(AuthorizationStatusDetails authorizationStatusDetails) {
	    this.authorizationStatusDetails = authorizationStatusDetails;
	    return this;
	}

	/**
	* The date and time, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). Seconds are required while fractional seconds are optional.
Note: The regular expression provides guidance but does not reject all invalid dates.
*/ @SerializedName("create_time") private String createTime; public String createTime() { return createTime; } public Authorization createTime(String createTime) { this.createTime = createTime; return this; } /** * The date and time, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). Seconds are required while fractional seconds are optional.
Note: The regular expression provides guidance but does not reject all invalid dates.
*/ @SerializedName("expiration_time") private String expirationTime; public String expirationTime() { return expirationTime; } public Authorization expirationTime(String expirationTime) { this.expirationTime = expirationTime; return this; } /** * The PayPal-generated ID for the authorized payment. */ @SerializedName("id") private String id; public String id() { return id; } public Authorization id(String id) { this.id = id; return this; } /** * The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives. */ @SerializedName("invoice_id") private String invoiceId; public String invoiceId() { return invoiceId; } public Authorization invoiceId(String invoiceId) { this.invoiceId = invoiceId; return this; } /** * An array of related [HATEOAS links](/docs/api/reference/api-responses/#hateoas-links). */ @SerializedName(value = "links", listClass = LinkDescription.class) private List links; public List links() { return links; } public Authorization links(List links) { this.links = links; return this; } /** * The level of protection offered as defined by [PayPal Seller Protection for Merchants](https://www.paypal.com/us/webapps/mpp/security/seller-protection). */ @SerializedName("seller_protection") private SellerProtection sellerProtection; public SellerProtection sellerProtection() { return sellerProtection; } public Authorization sellerProtection(SellerProtection sellerProtection) { this.sellerProtection = sellerProtection; return this; } /** * The status for the authorized payment. */ @SerializedName("status") private String status; public String status() { return status; } public Authorization status(String status) { this.status = status; return this; } /** * The date and time, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). Seconds are required while fractional seconds are optional.
Note: The regular expression provides guidance but does not reject all invalid dates.
*/ @SerializedName("update_time") private String updateTime; public String updateTime() { return updateTime; } public Authorization updateTime(String updateTime) { this.updateTime = updateTime; return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy