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

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

There is a newer version: 2.0.0
Show newest version
// This class was generated on Tue, 04 Sep 2018 12:15:14 PDT by version 0.1.0-dev+904328-dirty of Braintree SDK Generator
// OrderRequest.java
// @version 0.1.0-dev+904328-dirty
// @type object
// @data H4sIAAAAAAAC/+w9728bN7Lf319B+D60BiT5bCftXYAHPMdp07RNzkicFg++QqJ2R1rCXHJLciUrD/e/P8yQ3N9ynERRexd9skVySc5wOJxf5Pzf0fWmgKMnR/8wKRj2Gn4vwbqj0dEv3Ag+l/CK51h9NDr6CTb1j2dgEyMKJ7Q6enJ0nQHT1IHxHbAUHBfSTo5GRxfG8I0f5a+jo9fA038ouTl6suDSAhb8XgoDaVVwZXQBxgmwR09uqvldFIUUCccB2aVWDu4GZsnrRtOkalRPfLi+DctlaZ3OxTuwzGXACr4Bw+CuACNAJcDS0gi1pDpeFEavuGSF0QlYyxbaxI9yUI6thcvYFd9ccbk7TFiHE+gDPzdcpVOFP5owt4r7yyb5HCRzGXdMr8AYkQbA56UVCoHCT5lQVOhhYTxJdKkc061SKxx8KpiqlPJfo/fCmnCVgJyWRrZgbRX3YX37+me2zsAAzTqhhQbDhGUGUmEgcZAyvnBg2g18t7a5tHuCU3KVCrWcFnzZXtVORR9WtymA6QULDRk2ZE4zm+n1wLoR6dYAZ5Dc6nJvUOqEyw58sagP2Y3kalkSOHz529eZc4V9cnLitJZ2IsAtJtosTzKXy5N5Ujz69i8WEvx8fHZcbdCqC6HYOhNJhqihMcU7Tx1gjDZjA5IjUfiZ2xGzZZIxblkO1vIl2BET1pb4l6uU2XK5BEtUREPaCaO14EskspynwMoCVwVHuHnx5h/sm/O/j8/q6SQ6hRqk9Xo9kTqZLPXqxDquUm5SeyKspq9Oiqw4wQ+mUlg3KbLieEQda8IWlzTC+PTx388eMY/ENsaw+1IJ7IJQJqymxtQp9mkniMVjD1uc8vj89JtvGJdFxsdnjPiA2YSJn6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HvOsjVN6rWb0nCfvbnybswrfe3O8fePsGWxIc9ze85IqnHBtH8O9v/yMvuPLNYQGJK817PnizFu4dGCQr/OyWK1flGv/T5OE/20ZlZwPyfyLcZsScXvvUjCshJV/Ce5Pvn872v3vOt8F1PgAX7haUBCTBZ8t5aeYjpkAss7k2mdZeCEoFDpy49wJ8Fmn8fWTtWdWEvQlDzrkwRtNgzdHvpzNiVNRHBURntrWo3VKtoydArvnG1g4BenSBt5DS7I8lUXTx+gmigiHwfzbSfrSNBB4NGz5ay70m+fdDFv2cjJUzlE8j2h5KBo3M8lYbV8X1eX9xneX/eQlGWdiE4BO1Yd8bUEnGHBgjnDaiGYcS6p6Xgit+Pwl52S3aYSBlBB1CzinRBEFIF40uM6H+HCv98bHGN26t2859Rifd6cO8+r77+536IUpTG2ZgKSq2/wkuqlaQNBIHnsDPDXDHnhpB8q2wPWPI86d9n048k7tt3/400LYmPp+kpRh7ASPVOQ7pc3l6Ez93cYI+Ayh+MLs8m/WnTUTE1trIdC1CGQpx3BD/KVWwqUpIWWFEAuzry7dXxyFXEbJJdcsS2qGkABht7Xgesu00X5vZgcvqo0Mt/Ibuk2e7fMjUTozAhw9Uwhoi850oPA5RzPq9FCsuUTWsU1/VQQoeo4h2JMmggDZ6ZsGR2OjlDQC7aTSpzeKgJmtxKwrAc0abpTfKX9VwHO9cPT0kSz8kSz8kSz8kSz8kSz8kSz8kS/9jkqU/xFxs9cJN4wNcuuM36dUNkHkMCa6aMa1aT8clBlLhSNrzVp0dmsN/+9d//T8AAAD//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.braintreepayments.http.annotations.*;
/**
 * The order request details.
 */
@Model
public class OrderRequest {

    // Required default constructor
    public OrderRequest() {}

	/**
	* Customizes the payer experience during the approval process for the payment with PayPal.
	*/
	@SerializedName("application_context")
	private ApplicationContext applicationContext;

	public ApplicationContext applicationContext() { return applicationContext; }
	
	public OrderRequest applicationContext(ApplicationContext applicationContext) {
	    this.applicationContext = applicationContext;
	    return this;
	}

	/**
	* REQUIRED
	* The intent to either capture payment immediately or authorize a payment for an order after order creation.
	*/
	@SerializedName("intent")
	private String intent;

	public String intent() { return intent; }
	
	public OrderRequest intent(String intent) {
	    this.intent = intent;
	    return this;
	}

	/**
	* The customer who approves and pays for the order. The customer is also known as the payer.
	*/
	@SerializedName("payer")
	private Customer payer;

	public Customer payer() { return payer; }
	
	public OrderRequest payer(Customer payer) {
	    this.payer = payer;
	    return this;
	}

	/**
	* REQUIRED
	* An array of purchase units. Each purchase unit establishes a contract between a customer and merchant. Each purchase unit represents either a full or partial order that the customer intends to purchase from the merchant.
	*/
	@SerializedName(value = "purchase_units", listClass = PurchaseUnitRequest.class)
	private List purchaseUnits;

	public List purchaseUnits() { return purchaseUnits; }
	
	public OrderRequest purchaseUnits(List purchaseUnits) {
	    this.purchaseUnits = purchaseUnits;
	    return this;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy