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

com.bitpay.sdk.model.invoice.Shopper Maven / Gradle / Ivy

Go to download

Full implementation of the BitPay Payment Gateway. This library implements BitPay's Cryptographically Secure RESTful API.

There is a newer version: 10.1.1
Show newest version
/*
 * 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy