Class PurchaseMail
java.lang.Object
passport.domain.contexts.purchases.internal.PurchaseMail
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the purchase details for the email.Creates an email document for the purchase.Creates an email document for the refund.via
(PaymentMethod paymentMethod) Sets the payment method for the email.
-
Constructor Details
-
PurchaseMail
public PurchaseMail()
-
-
Method Details
-
of
Sets the purchase details for the email.- Parameters:
purchase
- the purchase details- Returns:
- the updated PurchaseMail object
-
via
Sets the payment method for the email.- Parameters:
paymentMethod
- the payment method- Returns:
- the updated PurchaseMail object
-
purchaseMail
Creates an email document for the purchase.- Returns:
- the email document for the purchase
-
refundMail
Creates an email document for the refund.- Returns:
- the email document for the refund
-