public interface PaymentResponseDTOToEntityService
| Modifier and Type | Method and Description |
|---|---|
void |
populateAddressInfo(AddressDTO<PaymentResponseDTO> dto,
Address address) |
void |
populateBillingInfo(PaymentResponseDTO responseDTO,
OrderPayment payment,
Address tempBillingAddress,
boolean isUseBillingAddressFromGateway) |
void |
populateCustomerPaymentToken(PaymentResponseDTO responseDTO,
CustomerPayment customerPayment)
Will attempt to populate the
CustomerPayment.setPaymentToken(String)
by first looking at the response map for key PaymentAdditionalFieldType.TOKEN. |
void |
populateShippingInfo(PaymentResponseDTO responseDTO,
Order order) |
void populateBillingInfo(PaymentResponseDTO responseDTO, OrderPayment payment, Address tempBillingAddress, boolean isUseBillingAddressFromGateway)
void populateShippingInfo(PaymentResponseDTO responseDTO, Order order)
void populateAddressInfo(AddressDTO<PaymentResponseDTO> dto, Address address)
void populateCustomerPaymentToken(PaymentResponseDTO responseDTO, CustomerPayment customerPayment)
Will attempt to populate the CustomerPayment.setPaymentToken(String)
by first looking at the response map for key PaymentAdditionalFieldType.TOKEN.
If not found, it will next look and see if a Credit Card is populated on the response and will attempt to get the
CreditCardDTO.getCreditCardNum()
Usually used during a tokenization flow when there is a direct response from the gateway (e.g. transparent redirect) outside the scope of a checkout flow.
customerPayment - responseDTO - org.broadleafcommerce.core.payment.service.DefaultPaymentGatewayCheckoutService}Copyright © 2019. All rights reserved.