- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
64 lines
1.4 KiB
Java
64 lines
1.4 KiB
Java
package com.amazon.device.iap.internal.model;
|
|
|
|
import com.amazon.device.iap.model.ProductType;
|
|
import com.amazon.device.iap.model.Receipt;
|
|
import java.util.Date;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class ReceiptBuilder {
|
|
private Date cancelDate;
|
|
private ProductType productType;
|
|
private Date purchaseDate;
|
|
private String receiptId;
|
|
private String sku;
|
|
|
|
public Date getCancelDate() {
|
|
return this.cancelDate;
|
|
}
|
|
|
|
public ProductType getProductType() {
|
|
return this.productType;
|
|
}
|
|
|
|
public Date getPurchaseDate() {
|
|
return this.purchaseDate;
|
|
}
|
|
|
|
public String getReceiptId() {
|
|
return this.receiptId;
|
|
}
|
|
|
|
public String getSku() {
|
|
return this.sku;
|
|
}
|
|
|
|
public ReceiptBuilder setCancelDate(Date date) {
|
|
this.cancelDate = date;
|
|
return this;
|
|
}
|
|
|
|
public ReceiptBuilder setProductType(ProductType productType) {
|
|
this.productType = productType;
|
|
return this;
|
|
}
|
|
|
|
public ReceiptBuilder setPurchaseDate(Date date) {
|
|
this.purchaseDate = date;
|
|
return this;
|
|
}
|
|
|
|
public ReceiptBuilder setReceiptId(String str) {
|
|
this.receiptId = str;
|
|
return this;
|
|
}
|
|
|
|
public ReceiptBuilder setSku(String str) {
|
|
this.sku = str;
|
|
return this;
|
|
}
|
|
|
|
public Receipt build() {
|
|
return new Receipt(this);
|
|
}
|
|
}
|