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

com.truelayer.java.payments.entities.CreatePaymentRequest Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
package com.truelayer.java.payments.entities;

import com.truelayer.java.entities.CurrencyCode;
import com.truelayer.java.entities.RelatedProducts;
import com.truelayer.java.entities.User;
import com.truelayer.java.payments.entities.paymentmethod.PaymentMethod;
import java.util.Map;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;

@Builder
@Getter
@ToString
@EqualsAndHashCode
public class CreatePaymentRequest {
    private int amountInMinor;

    private CurrencyCode currency;

    private PaymentMethod paymentMethod;

    private User user;

    private Map metadata;

    /**
     * Optional field. Not available when creating recurring payments.
     */
    private RelatedProducts relatedProducts;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy