public interface GiftCardAccountService
Modifier and Type | Method and Description |
---|---|
GiftCardAccount |
createGiftCardAccount(org.broadleafcommerce.common.money.Money amount)
Creates a new Gift Card account.
|
GiftCardAccount |
createGiftCardAccount(org.broadleafcommerce.common.money.Money amount,
CreditAccountEventRequestDTO requestDTO)
Creates a new Gift Card account.
|
GiftCardAccount |
readAccountByGiftCardNumber(String giftCardNumber)
Returns a GiftCardAccount that matches the Gift Card Number.
|
GiftCardAccount |
sendAndUpdateGiftCardEmail(GiftCardAccount giftCardAccount)
Update and Resend the GiftCard to the recipient email address on the account.
|
CreditAccountEvent |
transferAccountBalance(CreditAccount sender,
CreditAccount receiver,
org.broadleafcommerce.common.money.Money amount)
Transfers an amount from the Sender CreditAccount to the Receiver CreditAccount.
|
GiftCardAccount createGiftCardAccount(org.broadleafcommerce.common.money.Money amount)
GiftCardAccount createGiftCardAccount(org.broadleafcommerce.common.money.Money amount, CreditAccountEventRequestDTO requestDTO)
GiftCardAccount readAccountByGiftCardNumber(String giftCardNumber)
giftCardNumber
- CreditAccountEvent transferAccountBalance(CreditAccount sender, CreditAccount receiver, org.broadleafcommerce.common.money.Money amount)
sender
- receiver
- amount
- GiftCardAccount sendAndUpdateGiftCardEmail(GiftCardAccount giftCardAccount)
giftCardAccount
- Copyright © 2019. All rights reserved.