com.bitpay.sdk.model.invoice.Shopper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bitpay_sdk Show documentation
Show all versions of bitpay_sdk Show documentation
Full implementation of the BitPay Payment Gateway. This library implements BitPay's Cryptographically
Secure RESTful API.
/*
* Copyright (c) 2019 BitPay.
* All rights reserved.
*/
package com.bitpay.sdk.model.invoice;
import com.bitpay.sdk.model.ModelConfiguration;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The type Shopper.
*
* @see REST API Invoices
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Shopper {
protected String user = ModelConfiguration.DEFAULT_NON_SENT_VALUE;
/**
* Instantiates a new Shopper.
*/
public Shopper() {
}
/**
* Gets name.
*
* @return the name
*/
@JsonIgnore
@JsonInclude(JsonInclude.Include.NON_DEFAULT)
public String getName() {
return this.user;
}
/**
* Sets name.
*
* @param user the user
*/
@JsonProperty("user")
public void setName(String user) {
this.user = user;
}
}