BTThreeDSecureV2UICustomization.m 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #import "BTThreeDSecureV2UICustomization_Internal.h"
  2. #import "BTThreeDSecureV2BaseCustomization_Internal.h"
  3. @implementation BTThreeDSecureV2UICustomization
  4. - (instancetype)init {
  5. self = [super init];
  6. if (self) {
  7. self.cardinalValue = [UiCustomization new];
  8. }
  9. return self;
  10. }
  11. - (void)setButtonCustomization:(BTThreeDSecureV2ButtonCustomization *)buttonCustomization
  12. buttonType:(BTThreeDSecureV2ButtonType)buttonType {
  13. [self.cardinalValue setButtonCustomization:(ButtonCustomization *)buttonCustomization.cardinalValue
  14. buttonType:(ButtonType)buttonType];
  15. }
  16. - (void)setToolbarCustomization:(BTThreeDSecureV2ToolbarCustomization *)toolbarCustomization {
  17. _toolbarCustomization = toolbarCustomization;
  18. [self.cardinalValue setToolbarCustomization:(ToolbarCustomization *)toolbarCustomization.cardinalValue];
  19. }
  20. - (void)setLabelCustomization:(BTThreeDSecureV2LabelCustomization *)labelCustomization {
  21. _labelCustomization = labelCustomization;
  22. [self.cardinalValue setLabelCustomization:(LabelCustomization *)labelCustomization.cardinalValue];
  23. }
  24. - (void)setTextBoxCustomization:(BTThreeDSecureV2TextBoxCustomization *)textBoxCustomization {
  25. _textBoxCustomization = textBoxCustomization;
  26. [self.cardinalValue setTextBoxCustomization:(TextBoxCustomization *)textBoxCustomization.cardinalValue];
  27. }
  28. @end