C# Class JudoDotNetXamarin.CardEntryPage

Inheritance: KeyboardAwarePage, TransactionView
Show file Open project: JudoPay/Judo-Xamarin

Protected Properties

Property Type Description
Judo Judo
PaymentService IPaymentService
Presenter TransactionPresenter

Public Methods

Method Description
CardEntryPage ( Judo judo ) : System
CardEntryPage ( Judo judo, PaymentDefaultsViewModel defaults ) : System
CardEntryPage ( Judo judo, TokenPaymentDefaultsViewModel defaults ) : System
HideLoading ( ) : void
InitializeView ( ) : void
OnDeclined ( ) : void
OnDisplay3dSecure ( JudoPayDotNet.Models.PaymentRequiresThreeDSecureModel result ) : void
OnDisplayConnectionError ( ) : void
OnResult ( IResult result ) : void
SetAmexAsUnaccepted ( ) : void
SetMaestroAsUnaccepted ( ) : void
ShowLoading ( ) : void
Validate ( object sender ) : void

Protected Methods

Method Description
GetDefaultButtonLabel ( ) : string
GetDefaultTitle ( ) : string
GetLoadingOverlayTitleLabel ( ) : string
OnAppearing ( ) : void
OnBackButtonPressed ( ) : bool
OnSubmit ( CardViewModel card ) : void
SetEnabledForAllViews ( bool isEnabled ) : void

Private Methods

Method Description
Advance ( JudoEntry entry, bool isValid ) : void
AreAllPartsValid ( List parts ) : bool
ChangeValidParts ( CardPart cardPart, bool isValid ) : void
DisplayAvsFieldIfAvsEnabledAndPrimaryPartsAreMet ( ) : void
DisplayPaymentButtonIfValidPartsMet ( ) : void
GetButtonLabel ( ) : string
GetTitle ( ) : string
InitializeEntryFromTheme ( List entries ) : void
InitializeTheme ( ) : void
SetBillingCountry ( ) : void
SetUpDefaults ( PaymentDefaultsViewModel defaults ) : void
SetUpDefaults ( TokenPaymentDefaultsViewModel defaults ) : void
UpdateCardIcons ( ) : void
UpdateCardNumberFormat ( ) : void
UpdateCardNumberMaxLength ( ) : void
UpdateCvvMaxLength ( ) : void
ValidatePart ( JudoEntry entry, IValidator validator, CardPart cardPart ) : void

Method Details

CardEntryPage() public method

public CardEntryPage ( Judo judo ) : System
judo Judo
return System

CardEntryPage() public method

public CardEntryPage ( Judo judo, PaymentDefaultsViewModel defaults ) : System
judo Judo
defaults PaymentDefaultsViewModel
return System

CardEntryPage() public method

public CardEntryPage ( Judo judo, TokenPaymentDefaultsViewModel defaults ) : System
judo Judo
defaults TokenPaymentDefaultsViewModel
return System

GetDefaultButtonLabel() protected method

protected GetDefaultButtonLabel ( ) : string
return string

GetDefaultTitle() protected method

protected GetDefaultTitle ( ) : string
return string

GetLoadingOverlayTitleLabel() protected method

protected GetLoadingOverlayTitleLabel ( ) : string
return string

HideLoading() public method

public HideLoading ( ) : void
return void

InitializeView() public method

public InitializeView ( ) : void
return void

OnAppearing() protected method

protected OnAppearing ( ) : void
return void

OnBackButtonPressed() protected method

protected OnBackButtonPressed ( ) : bool
return bool

OnDeclined() public method

public OnDeclined ( ) : void
return void

OnDisplay3dSecure() public method

public OnDisplay3dSecure ( JudoPayDotNet.Models.PaymentRequiresThreeDSecureModel result ) : void
result JudoPayDotNet.Models.PaymentRequiresThreeDSecureModel
return void

OnDisplayConnectionError() public method

public OnDisplayConnectionError ( ) : void
return void

OnResult() public method

public OnResult ( IResult result ) : void
result IResult
return void

OnSubmit() protected abstract method

protected abstract OnSubmit ( CardViewModel card ) : void
card CardViewModel
return void

SetAmexAsUnaccepted() public method

public SetAmexAsUnaccepted ( ) : void
return void

SetEnabledForAllViews() protected method

protected SetEnabledForAllViews ( bool isEnabled ) : void
isEnabled bool
return void

SetMaestroAsUnaccepted() public method

public SetMaestroAsUnaccepted ( ) : void
return void

ShowLoading() public method

public ShowLoading ( ) : void
return void

Validate() public method

public Validate ( object sender ) : void
sender object
return void

Property Details

Judo protected property

protected Judo,JudoDotNetXamarin Judo
return Judo

PaymentService protected property

protected IPaymentService PaymentService
return IPaymentService

Presenter protected property

protected TransactionPresenter,JudoDotNetXamarin Presenter
return TransactionPresenter