com.checkout.apm.previous.klarna.OrderCaptureRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk-java Show documentation
Show all versions of checkout-sdk-java Show documentation
Checkout SDK for Java https://checkout.com
package com.checkout.apm.previous.klarna;
import com.checkout.common.PaymentSourceType;
import com.checkout.common.ShippingInfo;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;
@Data
@Builder
public final class OrderCaptureRequest {
private final PaymentSourceType type = PaymentSourceType.KLARNA;
private Long amount;
private String reference;
private Map metadata;
private Klarna klarna;
@SerializedName("shipping_info")
private ShippingInfo shippingInfo;
@SerializedName("shipping_delay")
private Long shippingDelay;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public static class Klarna {
private String description;
private List products;
@SerializedName("shipping_info")
private List shippingInfo;
@SerializedName("shipping_delay")
private Integer shippingDelay;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy