com.paypal.orders.Card Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk Show documentation
Show all versions of checkout-sdk Show documentation
PayPal SDK for integrating with the Checkout REST APIs
// This class was generated on Tue, 04 Sep 2018 12:15:13 PDT by version 0.1.0-dev+904328-dirty of Braintree SDK Generator
// Card.java
// @version 0.1.0-dev+904328-dirty
// @type object
// @data H4sIAAAAAAAC/8xZbW8bNxL+fr9ioH64BNBLbLW5nr+5yjVN26RG4/gQ5AprdnekHZhLbodcy+rh/vthyF1Ja8l5ayD0S2KRw5d55pnhQ+5/B5frmgZngxlKMRgOrlAYM0OvsNLWwXDwE623P56Rz4XrwM4OzgaXJUGN64psgBylgOCg8aT/LRpbAHa9Y5ihhYwAIRcqOIATKCjjNG48GA7ORXCd9vJkOPiVsPjFmvXgbIHGkzb83rBQsWm4EFeTBCY/OHu38eK8KIS8hwsnQd3Y9+iAxdbDjI1hu7zGZHTY4XYgsA0kFrULDdTOBzTQjhzDS6y9AvGuXfAKDRfR+CUFLDDgb4/KEGp/NpksOZRNNs5dNVk6tzTEJ9/aieGsnY1t3YTJim948uBsjwFtAT9cvvwZvhmfwLvzJrhFcgcWTirInQ3ijD+DUBJgE1zuqtpQIMAQhLMm0HZLq9VqvJqOnSwnl79OylCZb04mnvKRzuXH2vAVbpeIzaNuiVEoabS7wmizwuMvH+tnFJCN3w91i951sTHYRnq/bz/S1tnRJtpYFNyGuh0L7VgIJQZAIfCuosAVebBEBRUKPEQMGG1OQxD2N0PlvgslCficLAo7D6uShGDBlkZLQbabNdgqsjHSUPGyDJpFafYxvHJhS8cVh1IXq5yFULIUUKOEdaSFq8l610hOY/iVisYWaEM3Ii5MpvBj+N4J0B1q0IYw7zDqlhh3DYYtXZ/MgT00vkFj1prYrso4pQO4xXZ0i9LYByEK17apMpJ53Na8a8OK+i1hXdP8y1HFB2G73GdI1rApNOF1B/1KcK+nz45z0OYCjMujwy0HhGohTzb4mGO1UMWexvBmA1I3bRyvREh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lmTKI2Vmgqt4s8bEuspyZ4K7Rq+F7J5CYFEODhh8ttzru173jBafD+Fknbr3mGogOideo6BbykdKl63MCvZ/jUi3R4d14pUL9L3OvYj/S6s3CgvUTAPFE86iCfdSUT9t0eTwuV+wjbQUmKmTJKUmAj5MGmnH6mtnzxug1ToVWPBlG4OrY0SQmjJm7KfGZff/N64QLvA+SDOLlPLKxeo5cpktx0ud6aN5NAT+LkQBvhOOOpb9nuPIc+/23sC2ZzJ923f/HTAdks+9Su4epQERuEqXVJrio9biTC0G9TbEsUB89npfH/bkUSwcmKKFbdtKuJQYv1pbPumaqiAWjgneDR7c/EYKgqlJmeG9ia+oQ/TBUCc96MsXfmCoPUYdZ/veHof9k8haJDm8/iZEnqfnv32Q0/tsRBo/45YUzD/4DphqDLr94Zv0cTPDJfrmvMo5WT3mpRgV0q2F9CdmaPitb1ZXhPBux2T7bM42fGKb7gmPWecLNOj/MXWj8dHu55q0PffPHZb9wGNH2kshZWTG/U7k6TI6trEfHXt55lh+jgzhCUvQmLW7neeY10B6K5mWff82zTtO7cmlHQcOBvKoSaqKvdvnz45gfnbt2/fjl6+nOuNOWZZhV2gX8TvOBRSl04QuOpstqEPzhk/ZgqLGPgyVGYii3w6nf7zK59uV6Nvxk8/jQCfnVJc9GCJP/chucD1BZrRkiwJBirgxbO2QtEX+fD2kZs16MN1wUsO/Y8w/fb97Ws/pP7uKrxLwyPtfu8998GH3JhepTMFyd99EpnogQNgXROKB2ePDf2BR9z3vN7WwhXKGjCPFbN7nHp0cf7q8YY4nx2Czya7p7wRDgcEzv2eQ68pQjTSYrdwjYwim6Ab1h4Ai21U4Nx4BzfWrazGTttnV1dDmF3N9J9X+s+/ohqevXj2hWr93/4PAAD//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 payment card to use to fund a payment. Can be a credit or debit card.
*/
@Model
public class Card {
// Required default constructor
public Card() {}
/**
* The portable international postal address. Maps to [AddressValidationMetadata](https://github.com/googlei18n/libaddressinput/wiki/AddressValidationMetadata) and HTML 5.1 [Autofilling form controls: the autocomplete attribute](https://www.w3.org/TR/html51/sec-forms.html#autofilling-form-controls-the-autocomplete-attribute).
*/
@SerializedName("billing_address")
private AddressPortable addressPortable;
public AddressPortable addressPortable() { return addressPortable; }
public Card addressPortable(AddressPortable addressPortable) {
this.addressPortable = addressPortable;
return this;
}
/**
* The card network or brand. Applies to credit, debit, gift, and payment cards.
*/
@SerializedName("card_type")
private String cardType;
public String cardType() { return cardType; }
public Card cardType(String cardType) {
this.cardType = cardType;
return this;
}
/**
* REQUIRED
* The year and month, in ISO-8601 `YYYY-MM` date format. See [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6).
*/
@SerializedName("expiry")
private String expiry;
public String expiry() { return expiry; }
public Card expiry(String expiry) {
this.expiry = expiry;
return this;
}
/**
* The PayPal-generated ID for the card.
*/
@SerializedName("id")
private String id;
public String id() { return id; }
public Card id(String id) {
this.id = id;
return this;
}
/**
* The last digits of the payment card.
*/
@SerializedName("last_digits")
private String lastDigits;
public String lastDigits() { return lastDigits; }
public Card lastDigits(String lastDigits) {
this.lastDigits = lastDigits;
return this;
}
/**
* The card holder's name as it appears on the card.
*/
@SerializedName("name")
private String name;
public String name() { return name; }
public Card name(String name) {
this.name = name;
return this;
}
/**
* REQUIRED
* The primary account number (PAN) for the payment card.
*/
@SerializedName("number")
private String number;
public String number() { return number; }
public Card number(String number) {
this.number = number;
return this;
}
/**
* The three- or four-digit security code of the card. Also known as the CVV, CVC, CVN, CVE, or CID.
*/
@SerializedName("security_code")
private String securityCode;
public String securityCode() { return securityCode; }
public Card securityCode(String securityCode) {
this.securityCode = securityCode;
return this;
}
}